/* Preserve image proportions when intrinsic dimensions are declared in HTML. */
img { height: auto; }
/* Tipografia e navegação editorial do escritório */
:root { --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif; }
body { font-family: var(--body); font-size: 16px; }
/* Cabeçalho em duas faixas, com a marca como assinatura principal. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; backdrop-filter: none; border-bottom: 1px solid #dfe4eb; }
.site-header .header-inner {
  position: relative; width: 100%; max-width: 1440px; min-height: 0;
  margin: 0 auto; padding: 14px clamp(24px, 4.5vw, 64px) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 108px auto; gap: 0 32px; align-items: center;
}
.site-header .brand { grid-column: 1; grid-row: 1; justify-self: start; width: min(560px, 100%); max-width: 100%; height: 104px; display: flex; align-items: center; }
.site-header .brand-mark, .site-header .brand img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.header-socials { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 24px; }
.header-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #294366; font: 600 14px/1.2 var(--body); text-decoration: none; }
.header-socials svg { display: block; flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.header-socials a:hover { color: #527caf; }
.header-socials a:focus-visible { outline: 2px solid #6687be; outline-offset: 4px; }
.site-header .nav {
  position: static; grid-column: 1 / -1; grid-row: 2; width: 100%; max-height: none;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0; border: 0; border-top: 1px solid #e5ebf3;
  background: transparent; box-shadow: none; white-space: normal;
  opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none;
}
.site-header .nav a { display: flex; align-items: center; justify-content: center; width: auto; min-height: 48px; padding: 10px 0; border: 0; color: #294366; font: 600 15px/1.3 var(--body); letter-spacing: .01em; text-decoration: none; }
.site-header .nav a.is-active, .site-header .nav a:hover { color: #527caf; }
.site-header .nav a.is-active::after { display: none; }
.site-header .nav a:focus-visible { outline: 2px solid #6687be; outline-offset: 2px; }
.hero h1 { max-width: 540px; font-size: clamp(2.25rem, 3.25vw, 3rem); line-height: 1.12; text-align: left; text-wrap: balance; }
.hero-copy > p { max-width: 510px; line-height: 1.65; text-wrap: pretty; }

/* Rótulos de seção: texto, sem cartões nem filetes decorativos. */
.eyebrow {
  display: block;
  width: auto;
  max-width: 100%;
  min-height: 0;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #3d659d;
  font: 700 18px/1.3 var(--body);
  letter-spacing: .005em;
  text-transform: none;
}
.authority-content .eyebrow { color: #e2ebfa; background: none; }
.office-card .eyebrow { color: #3d659d; }

/* Menos ornamentos onde o conteúdo e as fotografias já dão identidade. */
.button { box-shadow: none; letter-spacing: .02em; text-transform: none; font: 600 14px/1.2 var(--body); }
.button::before { display: none; animation: none; }
.button:hover, .button:focus-visible { box-shadow: none; transform: none; }
.button:focus-visible, .text-button:focus-visible { outline: 2px solid #6687be; outline-offset: 3px; }
.text-button { font: 600 14px/1.2 var(--body); letter-spacing: .02em; text-transform: none; }
.profile-facts dt { font-size: 12px; letter-spacing: .03em; }
.hero h1 em { color: inherit; font-style: normal; }
.credentials { display: flex; width: min(560px, 100%); border: 0; background: transparent; box-shadow: none; }
.credential { display: block; flex: 1; min-height: 0; padding: 0 12px; text-align: left; border-right: 1px solid #bac7d9; }
.credential:first-child { padding-left: 0; }
.credential:last-child { border-right: 0; }
.credential-icon { display: none; }
.credential span { color: #294366; font: 600 13px/1.35 var(--body); letter-spacing: 0; text-transform: none; }
.lawyer-card { box-shadow: none; }
.lawyer-card.is-active { box-shadow: 0 12px 32px rgba(30, 48, 75, .09); }
.lawyer-placeholder { border: 0; background: #e5edf8; }
.lawyer-placeholder span { color: #263b63; font: 500 clamp(5rem, 9vw, 8rem)/1 var(--heading); letter-spacing: -.06em; }
.area-grid { gap: 0; border-top: 1px solid #d7dfeb; border-left: 1px solid #d7dfeb; }
.area-card { padding: 28px; text-align: left; border: 0; border-right: 1px solid #d7dfeb; border-bottom: 1px solid #d7dfeb; background: transparent; box-shadow: none; }
.area-card .icon { margin: 0 0 18px; }
.area-card p { min-height: 0; font-size: 14px; }
.area-card .mini-rule { display: none; }
.office-card { background: #fff; border: 1px solid #d7dfeb; box-shadow: none; backdrop-filter: none; }
.office-card p { font-size: 14px; }
.profile-hero { background: #f6f8fb; }
.profile-visual { background: #e5edf8; box-shadow: none; }
.profile-monogram { background: #e5edf8; }
.profile-facts div { padding: 13px 0; border: 0; border-top: 1px solid #cfd9e7; background: transparent; }
.detail-card { padding: 24px 0; border: 0; border-top: 1px solid #d7dfeb; box-shadow: none; }
.related-list a { border: 0; border-bottom: 1px solid #cfd9e7; background: transparent; }
.related-list a:hover, .related-list a:focus-visible { border-color: #7595c5; transform: none; }
[data-sr] { opacity: 1 !important; transform: none !important; transition: none !important; }
.hero-copy > *, .hero-image, .book-hero > *, .book-hero .cover-shell { animation: none !important; }
section[id], footer[id] { scroll-margin-top: 184px; }
@media (max-width: 600px) {
  .eyebrow { font-size: 16px; }
  .credentials { display: none; }
  .whatsapp-float { right: 12px; bottom: 12px; width: 48px; height: 48px; }
  .whatsapp-float img { width: 24px; height: 24px; }
  section[id], footer[id] { scroll-margin-top: 180px; }
}

@media (max-width: 820px) {
  .site-header .header-inner { padding: 10px 20px 0; grid-template-rows: 86px auto; gap: 0 20px; }
  .site-header .brand { width: min(450px, 100%); height: 80px; }
  .header-socials { gap: 12px; }
  .header-socials a { width: 32px; justify-content: center; }
  .header-socials span { display: none; }
  .site-header .nav { gap: 10px; }
  .site-header .nav a { font-size: 14px; }
}
@media (max-width: 600px) {
  .site-header .header-inner { padding: 8px 16px 0; grid-template-rows: 76px auto; gap: 0 10px; }
  .site-header .brand { height: 72px; }
  .header-socials { gap: 2px; }
  .site-header .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; padding: 4px 0; }
  .site-header .nav a { min-height: 38px; padding: 6px 0; font-size: 13px; text-align: center; }
  .hero h1 { max-width: 360px; font-size: clamp(2rem, 7.8vw, 2.6rem); line-height: 1.12; }
}

/* Navegação compacta em telas menores. */
.site-header .menu-toggle { display: none; }
@media (max-width: 820px) {
  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 64px;
    gap: 0 12px;
    padding: 4px 16px;
  }
  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
    width: min(220px, 100%);
    height: 50px;
  }
  .site-header .header-socials { display: none; }
  .site-header .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    justify-self: end;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #cbd7e8;
    border-radius: 4px;
    background: #fff;
    color: #294366;
    cursor: pointer;
  }
  .site-header .menu-toggle:focus-visible { outline: 2px solid #6687be; outline-offset: 3px; }
  .site-header .nav {
    position: fixed;
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    max-height: min(70vh, 480px);
    gap: 0;
    padding: 8px 16px 12px;
    overflow-y: auto;
    border: 1px solid #dfe4eb;
    border-top: 0;
    background: #fff;
    box-shadow: 0 16px 32px rgba(30, 48, 75, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .site-header.is-menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .site-header .nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 4px;
    border-bottom: 1px solid #edf1f6;
    font-size: 15px;
    text-align: left;
  }
  .site-header .nav a:last-child { border-bottom: 0; }
  section[id], footer[id] { scroll-margin-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav { transition: none; }
}
