:root {
  --ivory: #f9efed;
  --paper: #fdf8f7;
  --sand: #f3e2df;
  --ink: #4a2c34;
  --ink-soft: #725a5f;
  --muted: #a08a8e;
  --gold: #c08680;
  --rose-light: #f0c9c3;
  --gold-deep: #a25f5e;
  --line: rgba(74, 44, 52, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --shadow: 0 30px 60px -30px rgba(74, 44, 52, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 300 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
p { margin: 0 0 1.1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--ink); color: var(--ivory);
  padding: 1rem 1.8rem; border-radius: var(--radius);
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  text-decoration: none; border: 1px solid var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--small { padding: .65rem 1.2rem; font-size: .72rem; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.link-arrow {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
.link-arrow::after { content: " →"; color: var(--gold-deep); }

/* Navegação */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 239, 237, .9); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -25px rgba(74,44,52,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand__mark {
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; gap: 1px;
  border: 1px solid var(--gold); font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; white-space: nowrap;
}
.brand__mark i { color: var(--gold-deep); font-size: .9em; }
.brand__name { font-family: var(--serif); font-size: 1.4rem; line-height: 1; font-weight: 500; }
.brand__name small {
  display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .38em;
  text-transform: uppercase; color: var(--muted); margin-top: .35rem;
}
.nav__menu { display: flex; align-items: center; gap: 2.2rem; }
.nav__menu a:not(.btn) {
  text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .2s;
}
.nav__menu a:not(.btn):hover { color: var(--gold-deep); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 1px; background: var(--ink); margin: 7px 0; transition: transform .3s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.2rem; margin-top: 2.2rem; }
.hero__photo { position: relative; margin: 0; }
.hero__photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold); z-index: 0;
}
.hero__photo img { position: relative; z-index: 1; aspect-ratio: 4/5; object-fit: cover; object-position: 60% center; box-shadow: var(--shadow); }
.hero__photo figcaption {
  position: absolute; z-index: 2; left: -2rem; bottom: 2.5rem;
  background: var(--paper); padding: 1.3rem 1.6rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 1rem; max-width: 270px;
  font-size: .8rem; line-height: 1.4; color: var(--ink-soft); letter-spacing: .04em;
}
.hero__photo .num { font-family: var(--serif); font-size: 2.8rem; color: var(--gold-deep); line-height: 1; }

/* Faixa de destaques */
.strip { background: var(--ink); color: var(--ivory); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__grid div { padding: 2.2rem 1.6rem; border-left: 1px solid rgba(249,239,237,.12); }
.strip__grid div:first-child { border-left: 0; padding-left: 0; }
.strip strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--rose-light); margin-bottom: .2rem; }
.strip span { font-size: .85rem; color: rgba(249,239,237,.72); line-height: 1.5; display: block; }

/* Seções */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tint { background: var(--sand); }
.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head p:not(.eyebrow) { color: var(--ink-soft); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split__photo { margin: 0; position: relative; }
.split__photo img { aspect-ratio: 4/5; object-fit: cover; object-position: 18% center; box-shadow: var(--shadow); filter: saturate(.85); }
.split__photo::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 45%; height: 45%;
  border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
.split__text > p { color: var(--ink-soft); }

.pillars { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.4rem; }
.pillars li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pillars span { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-deep); line-height: 1.2; }
.pillars h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.pillars p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { background: var(--paper); padding: 2.4rem 1.9rem 2.2rem; transition: background .35s, transform .35s; position: relative; }
.area::after {
  content: ""; position: absolute; left: 1.9rem; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .4s;
}
.area:hover { background: #fff; }
.area:hover::after { width: calc(100% - 3.8rem); }
.area svg { width: 42px; height: 42px; fill: none; stroke: var(--gold-deep); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.4rem; }
.area h3 { font-size: 1.42rem; }
.area p { font-size: .93rem; color: var(--ink-soft); margin: 0; line-height: 1.65; }

/* Advogadas */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.person { background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.portrait {
  margin: 0; position: relative; aspect-ratio: 4/5; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(135deg, #f6e1dd, #e2b8b1);
}
.portrait::before {
  content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 9vw, 6.5rem); color: rgba(162,95,94,.55); letter-spacing: .04em;
}
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(162,95,94,.35); pointer-events: none; z-index: 2; }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person__body { padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.person h3 { font-size: 1.85rem; margin-bottom: .1rem; }
.person__role { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.3rem; }
.person__body > p:not(.person__role) { color: var(--ink-soft); font-size: .97rem; }
.creds { list-style: none; padding: 0; margin: .4rem 0 1.8rem; border-top: 1px solid var(--line); }
.creds li { font-size: .88rem; padding: .7rem 0 .7rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; line-height: 1.5; }
.creds li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.person__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1.6rem; }
.person__links a { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.person__links a:hover { color: var(--gold-deep); }

/* Citação */
.quote {
  position: relative; padding: clamp(5rem, 11vw, 9rem) 0; color: var(--ivory); text-align: center;
  background: linear-gradient(rgba(60,32,40,.76), rgba(60,32,40,.84)), var(--bg) center/cover;
}
.quote blockquote { margin: 0 auto; max-width: 860px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.3vw, 2.5rem); line-height: 1.35; }
.quote cite { font-style: normal; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-light); }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__text > p:not(.eyebrow) { color: var(--ink-soft); }
.note { font-size: .78rem !important; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep) !important; margin-top: 1.8rem; }
.contact__cards { display: grid; gap: 1.4rem; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 2rem 2.2rem; border-top: 2px solid var(--gold); }
.card h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.card p { font-size: .88rem; color: var(--muted); }
.btn--wa { margin-top: .3rem; }
.mail { display: inline-block; margin-top: 1rem; margin-left: .2rem; font-size: .92rem; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line); word-break: break-all; }
.mail:hover { color: var(--gold-deep); border-color: var(--gold); }

/* Rodapé */
.footer { background: var(--ink); color: rgba(249,239,237,.75); padding: 3.5rem 0 2.5rem; font-size: .85rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; }
.footer .brand { color: var(--ivory); }
.footer .brand__name small { color: rgba(249,239,237,.55); }
.footer p { margin: 0; line-height: 1.7; }
.footer__legal { grid-column: 1 / -1; padding-top: 1.6rem; border-top: 1px solid rgba(249,239,237,.12); font-size: .74rem; color: rgba(249,239,237,.5); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(74,44,52,.6);
  border: 1px solid var(--gold); transition: transform .25s, background .25s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold-deep); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* Animação */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.5rem;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 1.2rem; justify-content: center; }
  .hero__grid, .split, .team, .contact { grid-template-columns: 1fr; }
  .hero__photo { max-width: 520px; margin-left: 18px; }
  .hero__photo figcaption { left: -18px; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__grid div { padding: 1.6rem 1rem; border-left: 0; border-top: 1px solid rgba(249,239,237,.12); }
  .strip__grid div:first-child { padding-left: 1rem; }
  .strip__grid div:nth-child(-n+2) { border-top: 0; }
  .split__photo { max-width: 520px; }
  .split__photo::after { right: -12px; bottom: -12px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .areas { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.2rem; }
  .brand__mark { width: 40px; height: 40px; font-size: 1rem; }
  .hero__photo figcaption { position: relative; left: auto; bottom: auto; margin: -2rem 1rem 0 auto; z-index: 3; }
  .card { padding: 1.6rem 1.4rem; }
  .btn--wa { width: 100%; justify-content: center; }
}

/* Logotipo */
.brand img { height: 64px; width: auto; }
.brand--footer img { height: 64px; }
@media (max-width: 560px) {
  .brand img { height: 48px; }
}

/* Tom quente nas fotos, alinhado à paleta bronze rosé */
.hero__photo img, .split__photo img { filter: sepia(.22) saturate(.85) hue-rotate(-14deg) brightness(1.03); }
