*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f0efee;color:#272525;font:1rem/1.5 Helvetica,Arial,sans-serif}a{color:inherit;text-underline-offset:.3em}a:hover{color:#8a3148}a:focus-visible,summary:focus-visible{outline:3px solid #bd617a;outline-offset:4px}header,section,footer{padding-inline:clamp(1.25rem,5vw,6rem)}header{display:flex;align-items:center;justify-content:space-between;height:78px;border-bottom:1px solid #bcbab9;position:relative;z-index:3}.brand{display:flex;align-items:center;gap:.75rem;font-weight:600;text-decoration:none}.brand img{width:52px;height:44px;object-fit:contain}.menu summary{cursor:pointer;list-style:none;padding:.75rem}.menu summary::-webkit-details-marker{display:none}.menu summary span{margin-left:.5rem}.menu nav{position:absolute;right:5vw;top:90%;display:grid;background:#292728;color:white;padding:1rem;min-width:12rem}.menu nav a{padding:.6rem}
.hero{background:#e5e4e2}.composition{position:relative;display:grid;align-items:center;min-height:clamp(28rem,63vh,49rem);isolation:isolate}.composition .card-scene{position:absolute;z-index:-1;width:29%;height:74%;left:38%;object-fit:cover;filter:grayscale(.85) brightness(.76)}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:500;line-height:.98;letter-spacing:-.065em}h1{font-size:clamp(5rem,10vw,11rem);display:grid;grid-template-columns:1fr 1fr;align-items:center}h1 span:last-child{text-align:right;color:#74243b}.intro,#atuacao,.team,#artigos,footer{padding-block:clamp(3.5rem,8vw,8rem)}.intro{background:#292728;color:white}.intro p{max-width:26ch;font-size:clamp(2rem,4.1vw,4.5rem);letter-spacing:-.047em;line-height:1.13}.intro a{display:inline-block;margin-top:2rem}h2{font-size:clamp(2.6rem,5.4vw,6rem);margin-bottom:2.4rem}.areas{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.areas article{min-height:clamp(19rem,34vw,34rem);display:flex;flex-direction:column;justify-content:space-between;padding:clamp(1.3rem,3vw,3rem);color:white;background:linear-gradient(0deg,#171216ed,transparent 85%),linear-gradient(#25202360,#25202360),var(--photo) center/cover}.areas h3{font-size:clamp(2.3rem,4vw,4.5rem)}.areas p{max-width:43ch;margin-top:1rem}.team{background:#dedcda;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:2rem}.team p{max-width:32ch}.team img{width:100%;aspect-ratio:3/4;object-fit:cover}.team strong,.reading small{display:block}.team strong{font-size:1.25rem;margin:.7rem 0}.reading{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.reading a{border-top:1px solid;padding-top:1rem;text-decoration:none;font:1.65rem/1.2 Georgia,serif}.reading small{font: .85rem/1.5 Arial;color:#74243b;margin-bottom:1rem}footer{background:#292929;color:#fff}footer a{display:inline-block;margin:0 2rem 1rem 0}footer a:hover,.intro a:hover{color:#f2bfcd}footer p{margin-top:3rem;font-size:.85rem}
@media(max-width:740px){header{height:64px}.composition{min-height:31rem}.composition .card-scene{width:62%;height:65%;left:20%;top:18%}h1{grid-template-columns:1fr;gap:7rem;font-size:clamp(4rem,14vw,6rem)}h1 span{width:max-content;background:#e5e4e2;padding-right:.12em}h1 span:last-child{justify-self:end;padding-left:.12em}.areas,.reading,.team{grid-template-columns:1fr}.team figure{display:grid;grid-template-columns:minmax(100px,35%) 1fr;align-items:center;gap:1rem}.team strong{margin-top:0}.team h2{margin-bottom:1rem}}
@media(prefers-reduced-motion:no-preference){.composition h1 span{animation:enter .7s ease-out both}.composition h1 span:last-child{animation-delay:.12s}@keyframes enter{from{opacity:0;transform:translateY(.16em)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.opening { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .play-opening .opening {
    position: fixed; inset: 0; z-index: 8; display: grid; place-items: center;
    background: #d9d6d6; pointer-events: none;
    animation: lift-curtain 1.1s 2.4s cubic-bezier(.76,0,.24,1) both;
  }
  .opening-frame { width: min(18rem,66vw); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
  .opening-frame i {
    position: absolute; width: .65rem; aspect-ratio: 1; background: #74243b;
    animation: open-corners 1.3s .2s cubic-bezier(.76,0,.24,1) both;
  }
  .opening-frame i:nth-child(1) { top:0; left:0; --x:1; --y:1; }
  .opening-frame i:nth-child(2) { top:0; right:0; --x:-1; --y:1; }
  .opening-frame i:nth-child(3) { bottom:0; left:0; --x:1; --y:-1; }
  .opening-frame i:nth-child(4) { bottom:0; right:0; --x:-1; --y:-1; }
  .logo-mask { width:50%; overflow:hidden; }
  .logo-mask img { display:block; width:100%; animation: uncover-mark 1.3s 1.1s cubic-bezier(.76,0,.24,1) both; }
  .play-opening .composition h1 span { animation: uncover-title 1.2s 3.05s cubic-bezier(.22,1,.36,1) both; }
  .play-opening .composition h1 span:last-child { animation-delay:3.65s; }
  .play-opening .composition .card-scene { animation: uncover-photo 1.2s 5.16s ease-in-out both; }
  
  
  
  
  @keyframes open-corners { from { transform:translate(calc(var(--x) * min(8.3rem,30vw)),calc(var(--y) * min(8.3rem,30vw))); } }
  @keyframes uncover-mark { from { transform:translateY(105%); } }
  @keyframes lift-curtain { to { transform:translateY(-100%); visibility:hidden; } }
  @keyframes uncover-title { from { clip-path:inset(100% 0 0); transform:translateY(.45em); } to {clip-path:inset(-10%); } }
  @keyframes uncover-photo { from { clip-path:inset(0 50%); } to { clip-path:inset(0); } }
}

/* Sections following the opening */
header {
  --header-height:78px;
  position:sticky;
  top:0;
  margin-bottom:calc(-1 * var(--header-height));
  background:rgb(245 243 243 / 77%);
  color:#292628;
  border-color:rgb(48 40 42 / 14%);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
header[data-tone="dark"] {
  background:rgb(32 29 31 / 68%);
  color:#fff;
  border-color:rgb(255 255 255 / 14%);
}
header .brand:hover { color:inherit; }
.hero { padding-top:78px; }
@media(max-width:740px) {
  header { --header-height:64px; }
  .hero { padding-top:64px; }
}
:where(section,article,footer)[id] { scroll-margin-top:80px; }
.intro { background:#f0efee; color:#292728; }
.intro p { margin-left:auto; width:min(100%,26ch); }
.intro a { display:table; margin-left:auto; color:#74243b; }
.intro a:hover { color:#481628; }
.office-window { height:clamp(18rem,60vh,48rem); overflow:hidden; background:#292728; }
.office-window img { width:100%; height:100%; object-fit:cover; object-position:50% 48%; }
#atuacao { background:#292628; color:#f3efef; }
.practice-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:4vw; align-items:start; }
#atuacao h2 { position:sticky; top:7rem; max-width:8ch; }
.areas { gap:clamp(1.25rem,2.5vw,2.25rem); min-width:0; }
.areas article { display:block; min-height:0; padding:0; background:transparent; }
.practice { height:100%; min-height:18rem; position:relative; isolation:isolate; display:flex; justify-content:space-between; flex-direction:column; padding:clamp(1rem,2.3vw,2.5rem); border:1px solid #73656a; color:inherit; text-decoration:none; }
.practice::before { content:""; position:absolute; inset:0; z-index:-1; background:#652337; transform:scale(0); transform-origin:top right; }
.practice:is(:hover,:focus-visible) { color:white; }
.practice:is(:hover,:focus-visible)::before { transform:scale(1); }
.arrow { position:absolute; right:1.25rem; top:1.25rem; width:2rem; height:2rem; display:grid; place-items:center; background:#ece5e7; color:#632139; }
.areas h3 { font-size:clamp(2rem,3.4vw,4rem); }
.areas p { font-size:1rem; line-height:1.5; }
.reading a { border:none; padding:0; }
.article-image { display:block; overflow:hidden; margin-bottom:1rem; }
.article-image img { width:100%; aspect-ratio:1.6; object-fit:cover; display:block; }
@media(min-width:741px) {
 .reading { grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)); align-items:start; }
 .reading .article-image img { height:clamp(12rem,19vw,23rem); }
}
.reading a:first-child { font-size:clamp(1.95rem,3vw,3rem); line-height:1.08; }
@media(max-width:740px) {
 .reading a:not(:first-child) .article-image img { aspect-ratio:2.4; }
}
@media(max-width:740px) {
 .practice-layout { display:block; }
 #atuacao h2 { position:static; max-width:none; }
 .practice { min-height:13rem; }
 .intro a { margin-left:0; }
}
@media(prefers-reduced-motion:no-preference) {
 .practice::before,.arrow,.article-image img { transition:transform .55s cubic-bezier(.22,1,.36,1); }
 .practice:is(:hover,:focus-visible) .arrow { transform:rotate(45deg); }
 .reading a:is(:hover,:focus-visible) img { transform:scale(1.04); }
 .arriving { animation:section-arrive .65s cubic-bezier(.22,1,.36,1) both; }
 @keyframes section-arrive { from { opacity:.35; transform:translateY(16px); } }
 @supports (animation-timeline:view()) {
  .office-window img { animation:office-travel linear both; animation-timeline:view(); }
  @keyframes office-travel { from { transform:scale(1.12) translateY(-3%); } to { transform:scale(1.12) translateY(3%); } }
 }
}


.composition .card-scene {
  display:grid; place-items:center; overflow:hidden;
  background:linear-gradient(125deg,#a8a6a5,#767372 52%,#555353);
  filter:none;
}
.business-card {
  width:85%; aspect-ratio:1.8; position:relative; display:grid;
  grid-template-columns:46% 54%; align-items:center; padding:7% 4% 10%;
  background:#343434; color:white; transform:rotate(-7deg);
  box-shadow:1px 2px 0 #202020, 3px 9px 12px #16141455;
  container-type:inline-size;
}
.business-card::after {
  content:""; position:absolute; left:0; right:0; bottom:6%; height:8%;
  background:repeating-linear-gradient(to bottom,#c7c7c6 0 20%,transparent 20% 40%);
}
.business-card img { width:83%; height:auto; justify-self:center; }
.card-type { display:grid; gap:.35em; border-left:1px solid #b7b7b7; padding:8% 0 8% 9%; font-size:3.3cqw; line-height:1.18; }
.card-type strong { font-size:1.17em; }


/* One vertical composition, with the title framing the card. */
.hero { background:#292628; color:#faf8f8; }
.composition {
  --scene-width:min(100%,clamp(17rem,54vh,42rem));
  grid-template-columns: var(--scene-width);
  grid-template-rows:auto auto auto;
  justify-content:center;
  align-content:center;
  gap:clamp(.55rem,1.5vh,1.1rem);
  min-height:0;
  padding-block:clamp(1.5rem,4vh,3rem);
}
.composition h1 {
  grid-area:1 / 1 / 4;
  display:grid; grid-template-columns:1fr; grid-template-rows:subgrid;
  gap:inherit;
  font-size:clamp(3.3rem,min(10vw,9vh),8rem);
  text-align:center;
}
.composition h1 span, .composition h1 span:last-child {
  justify-self:center; width:auto; padding:0; background:transparent;
  white-space:nowrap; color:inherit;
}
.composition h1 span:first-child { color:#edc4cf; }
.composition h1 span:last-child { grid-row:3; }
.composition .card-scene {
  grid-area:2 / 1; position:relative; z-index:auto; inset:auto;
  width:100%; height:auto; aspect-ratio:3 / 2;
  background:linear-gradient(127deg,#bab5b1 0%,#aaa6a3 49%,#504c4c 49.4%,#777374 78%,#474445);
}
.business-card { width:54%; padding:4% 2.3% 5.5%; }


/* Only pin panels that fit. The next opaque section covers them naturally. */
@media (prefers-reduced-motion:no-preference) and (min-height:620px) {
  .hero { position:sticky; top:0; }
  .intro,.office-window,#atuacao,.team,#artigos { position:relative; }
  .office-window { position:sticky; top:0; }
  #artigos { background:#f0efee; }
}
@media(max-width:740px) {
  .composition { --scene-width:min(100%,26rem); }
  .composition h1 { font-size:clamp(3.1rem,12vw,5.2rem); }
}

.menu-button { font:inherit; color:inherit; cursor:pointer; border:0; background:transparent; padding:.6rem .2rem .6rem .8rem; min-height:44px; }
.menu-button span { margin-left:.4rem; }
html:has(#menu-panel[open]) { overflow:hidden; }
#menu-panel { position:fixed; inset:0; width:100%; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; background:#292628; color:#faf6f7; }
#menu-panel::backdrop { background:transparent; }
.menu-layout { min-height:100%; display:flex; flex-direction:column; padding:0 clamp(1.25rem,5vw,6rem) 1.5rem; }
.menu-top { min-height:78px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #65585e; }
.menu-layout nav { display:grid; justify-items:start; margin:auto 0; padding:1.5rem 0; }
.menu-layout nav a { font-size:clamp(2.4rem,min(8vw,9vh),6.5rem); line-height:1.1; letter-spacing:-.055em; text-decoration:none; }
.menu-layout a:is(:hover,:focus-visible) { color:#edc4cf; }
.menu-email { width:fit-content; padding-block:.7rem; }
@media(prefers-reduced-motion:no-preference) {
  #menu-panel[open] { animation:menu-curtain-in .58s cubic-bezier(.7,0,.2,1) both; }
  #menu-panel[open].leaving { animation:menu-curtain-out .32s ease-in-out both; }
  #menu-panel[open] nav a { animation:menu-item-in .45s .16s both; }
  #menu-panel nav a:nth-child(2) { animation-delay:.21s; }
  #menu-panel nav a:nth-child(3) { animation-delay:.26s; }
  #menu-panel nav a:nth-child(4) { animation-delay:.31s; }
  #menu-panel nav a:nth-child(5) { animation-delay:.36s; }
  @keyframes menu-curtain-in { from { clip-path:inset(0 0 100%); } to { clip-path:inset(0); } }
  @keyframes menu-curtain-out { from { clip-path:inset(0); } to { clip-path:inset(0 0 100%); } }
  @keyframes menu-item-in { from { opacity:0; transform:translateY(.35em); } to { opacity:1; transform:none; } }
}
 .broker {
  grid-column:1 / -1; background:#dedede; color:#292929;
  border-inline-start:3px solid #762738; padding:clamp(1.4rem,4vw,3.5rem);
  scroll-margin-top:85px;
}
.broker h3 { font-size:clamp(2rem,4vw,3.8rem); }
.broker-intro { max-width:65ch; margin-top:1rem; }
.broker-actions { display:flex; flex-wrap:wrap; gap:.25rem 2rem; margin-top:1rem; }
.broker-actions a { display:inline-flex; align-items:center; gap:.35em; min-height:44px; color:#762738; }
.broker-actions .broker-primary { font-weight:700; }
.broker-actions a:hover { color:#501523; }
@media(max-width:740px){ .broker { margin-top:2rem; } }

.team {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1rem,3vw,3.5rem);
  padding-inline: max(5vw,calc((100% - 68rem)/2));
}
.team > div {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items:end;
  gap: inherit;
  padding-bottom:1.5rem;
  border-bottom:1px solid #aaa5a6;
}
.team h2 { margin:0; }
.team figure { display:block; }
.team figure img { display:block; aspect-ratio: 5/4; object-position:50% 22%; }
.team figcaption { max-width:44ch; }
.team strong { font-size:clamp(1.35rem,2.3vw,2.15rem); font-weight:500; letter-spacing:-.035em; }
@media(max-width:640px) {
  .team,.team > div { grid-template-columns:1fr; }
  .team { row-gap:2rem; }
  .team > div { gap:.9rem; }
  .team strong { margin:.7rem 0 .35rem; }
}

.hero-note { margin:0; padding:1rem 0 1.25rem; border-top:1px solid #665b60; color:#eeeaea; text-align:center; text-wrap:balance; }

.broker { margin-top:clamp(2rem,4vw,4rem); }
.areas { grid-template-columns:repeat(2,minmax(0,1fr)); }
.areas article { display:grid; grid-row:span 3; grid-template-rows:subgrid; }
.areas .practice {
  display:grid; grid-row:span 3; grid-template-rows:subgrid;
  height:auto; min-height:0; row-gap:1rem; justify-content:stretch;
}
.practice .item-icon { width:2rem; height:2rem; color:#eacbd2; }
.areas p { margin:0; }
@media(max-width:740px) {
  .areas { grid-template-columns:minmax(0,1fr); }
  .practice-layout h2 { margin-bottom:2rem; }
}
#acervo { display:flex; gap:clamp(1rem,2.4vw,2rem); overflow-x:auto; scroll-snap-type:x mandatory; padding:.25rem 0 1rem; }
#acervo a { flex:0 0 29%; min-width:0; scroll-snap-align:start; }
#acervo a:first-child { flex-basis:53%; }
.reading-controls:not([hidden]) { display:flex; justify-content:flex-end; gap:1rem; margin-top:1rem; }
.reading-controls button { min-height:44px; padding:.4rem .7rem; font:inherit; cursor:pointer; border:0; background:transparent; color:#762738; }
.reading-controls button:disabled { color:#666; opacity:.6; cursor:default; }
@media(max-width:740px) { #acervo a, #acervo a:first-child { flex-basis:88%; } }

#contato { background:#252525; color:#fafafa; padding-bottom:2rem; }
.contact-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:clamp(2rem,6vw,6rem); align-items:center; }
#contato h2 { margin:0; max-width:13ch; }
#contato .contact-copy { margin:1.4rem 0 0; max-width:47ch; font-size:clamp(1rem,1.4vw,1.2rem); line-height:1.55; color:#dedede; }
.contact-channels { display:grid; justify-items:start; gap:.6rem; }
.contact-channels a { margin:0; min-height:44px; display:inline-flex; align-items:center; }
.contact-whatsapp { background:#8c293e; color:white; text-decoration:none; padding:.85rem 1.2rem; gap:1.3rem; font-weight:650; }
#contato .contact-whatsapp:hover { background:#a63249; color:white; }
.contact-email { text-underline-offset:.25em; }
.contact-signature { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1rem; margin-top:clamp(3rem,6vw,6rem); padding-top:1.2rem; border-top:1px solid #595959; color:#ccc; font-size:.88rem; }
@media(max-width:740px) { .contact-layout { grid-template-columns:1fr; } .contact-signature { flex-direction:column; } }

.blog-index { display:inline-flex; align-items:center; min-height:44px; color:#762738; margin-top:1rem; }
