:root {
  --wine: #4d2632;
  --wine-deep: #321820;
  --coffee: #3e3935;
  --sand: #d7c2b2;
  --cream: #eadfd5;
  --paper: #f2eae2;
  --ink: #1d1b1a;
  --muted: #6d6661;
  --line: rgba(62,57,53,.16);
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 22px 55px rgba(53, 35, 32, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--wine);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 234, 226, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand img {
  width: 176px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-menu > a:not(.btn) { position: relative; }
.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--wine);
  transition: right .25s ease;
}
.nav-menu > a:not(.btn):hover::after { right: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--white);
  font-weight: 600;
  border: 1px solid var(--wine);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--wine-deep); border-color: var(--wine-deep); }
.btn-small { min-height: 42px; padding-inline: 18px; }
.btn-ghost { background: transparent; color: var(--wine); }
.btn-ghost:hover { color: white; }
.btn-full { width: 100%; }

.hero {
  padding: 96px 0 86px;
  background:
    radial-gradient(circle at 75% 20%, rgba(217,198,183,.50), transparent 32%),
    linear-gradient(180deg, #f3ebe4 0%, #e9ddd2 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 600;
  color: var(--wine);
  margin-bottom: 14px;
}
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0;
  line-height: 1.04;
}
h1 { font-size: clamp(52px, 6vw, 84px); font-weight: 600; letter-spacing: -.035em; }
h2 { font-size: clamp(38px, 4.1vw, 58px); font-weight: 600; letter-spacing: -.025em; }
h3 { font-size: 30px; font-weight: 600; }
.hero-copy > p {
  font-size: 18px;
  max-width: 640px;
  color: var(--muted);
  margin: 24px 0 30px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-card {
  background: var(--coffee);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-photo {
  width: 100%;
  height: 540px;
  object-fit: contain;
  object-position: center center;
  border-radius: 25px;
  display: block;
  background: linear-gradient(180deg, #eee6de 0%, #e6dbd1 100%);
  padding: 12px;
}
.hero-card-caption {
  color: #f6ece4;
  padding: 16px 10px 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.section { padding: 104px 0; }
.section-light { background: var(--cream); }
.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: start;
}
.rich-text { font-size: 17px; color: var(--muted); }
.rich-text p:first-child { margin-top: 0; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading p { color: var(--muted); margin-top: 16px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.area-card {
  position: relative;
  padding: 34px;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(249,244,239,.92);
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  right: -80px;
  top: -70px;
  background: rgba(77,38,50,.05);
}
.area-card-featured {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}
.area-card-featured p,
.area-card-featured .card-number { color: rgba(255,255,255,.75); }
.card-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 600;
}
.area-card p { color: var(--muted); margin-bottom: 0; max-width: 540px; }
.area-card-featured p { color: rgba(255,255,255,.78); }

.section-dark {
  background: var(--coffee);
  color: white;
}
.section-heading-light .eyebrow { color: var(--sand); }
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 22px;
}
.lawyer-card {
  background: #efe3d8;
  color: var(--ink);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 430px;
}
.lawyer-photo {
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(77,38,50,.08), rgba(62,57,53,.1)),
    #d8cbc1;
}
.lawyer-photo-real {
  background: #d8cbc1;
}
.initials {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 72px;
  color: var(--wine);
  line-height: 1;
}
.lawyer-photo span { font-size: 12px; color: var(--muted); }
.lawyer-info { padding: 36px 30px; }
.role {
  color: var(--wine);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700;
  margin: 0 0 8px;
}
.oab { color: var(--muted); font-size: 13px; margin-top: 8px; }
.lawyer-info > p:not(.role):not(.oab) { color: var(--muted); font-size: 14px; }
.lawyer-info a {
  display: inline-block;
  margin-top: 14px;
  color: var(--wine);
  font-weight: 600;
}

.future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.future-grid p { color: var(--muted); }
.coming-soon {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--wine);
}

.contact {
  padding: 100px 0;
  background: var(--wine);
  color: white;
}
.contact .eyebrow { color: var(--sand); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 70px;
  align-items: center;
}
.contact-grid > div:first-child p {
  max-width: 650px;
  color: rgba(255,255,255,.74);
  font-size: 17px;
}
.contact-card {
  background: #f7f0e9;
  color: var(--ink);
  padding: 34px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}
.contact-card h3 { font-size: 34px; }
.contact-card p { color: var(--muted); }
.instagram {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--wine);
  font-weight: 600;
}

.site-footer {
  background: #1f1c1a;
  color: rgba(255,255,255,.74);
  padding: 58px 0 24px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 44px;
}
.footer-logo {
  width: 180px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-grid p { margin-top: 0; }
.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    padding: 20px;
    border-radius: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-menu.open { display: flex; }
  .hero-grid, .split, .office-grid, .future-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 66px; }
  .cards-grid, .lawyers-grid { grid-template-columns: 1fr; }
  .lawyer-card { grid-template-columns: 1fr; }
  .lawyer-photo { min-height: 280px; }
  .lawyer-photo-real img { min-height: 360px; height: 520px; object-fit: contain; object-position: center center; }
  .office-photo-wrap { max-width: 100%; }
  .office-photo { height: 520px; object-fit: contain; object-position: center center; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 148px; height: 62px; }
  .nav-menu { top: 74px; }
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  .hero { padding: 52px 0 64px; }
  .section { padding: 78px 0; }
  .hero-photo { height: 440px; object-fit: contain; object-position: center center; }
  .hero-card-caption { flex-direction: column; }
  .area-card { padding: 28px; }
  .lawyer-info { padding: 28px 24px; }
  .contact { padding: 78px 0; }
}

.office-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: start;
}
.office-photo-wrap {
  margin-top: 34px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ddd2ca;
  max-width: 480px;
}
.office-photo {
  width: 100%;
  height: 460px;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: linear-gradient(180deg, #eee6de 0%, #e6dbd1 100%);
  padding: 10px;
}
.lawyer-photo-real {
  overflow: hidden;
  display: block;
}
.lawyer-photo-real img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: linear-gradient(180deg, #eee6de 0%, #e6dbd1 100%);
  padding: 12px;
}


.hero-card {
  background: var(--coffee);
}
.lawyer-photo-real,
.office-photo-wrap {
  background: linear-gradient(180deg, #eee6de 0%, #e6dbd1 100%);
}


/* ===== Ajustes V5 ===== */

/* Hero: foto maior, sem moldura bege sobrando */
.hero-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 24%;
  padding: 0;
  background: transparent;
  border-radius: 25px;
}

/* O Escritório: mantém a composição compacta em duas colunas.
   A foto já foi recortada horizontalmente no arquivo, então não precisa esticar nem preencher a página. */
.office-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 90px;
  align-items: start;
}

.office-photo-wrap {
  margin-top: 34px;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: transparent;
}

.office-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 0;
  background: transparent;
}

/* Advogados: usa a proporção real da foto, sem retângulo vazio */
.lawyer-photo-real {
  overflow: hidden;
  display: block;
  background: transparent;
}

.lawyer-photo-real img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: initial;
  object-position: initial;
  padding: 0;
  background: transparent;
  display: block;
}

/* Os cards continuam equilibrados, mesmo com a foto em proporção natural */
.lawyer-card {
  align-items: start;
}

@media (max-width: 920px) {
  .office-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .office-photo-wrap {
    max-width: 620px;
  }
  .office-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .hero-photo {
    height: 520px;
    object-fit: cover;
    object-position: center 22%;
  }
  .lawyer-photo-real img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: initial;
  }
}

@media (max-width: 620px) {
  .hero-photo {
    height: 420px;
    object-position: center 20%;
  }
  .office-photo-wrap {
    max-width: 100%;
  }
}
