/* Comi Advogados Associados — folha de estilo única
   Paleta a partir da identidade real: bronze #876632, preto, branco, cinzas quentes. */
:root {
  --ink: #15130f;
  --ink-2: #24201a;
  --ink-3: #3a342b;
  --paper: #f8f5ef;
  --paper-2: #efe9dd;
  --white: #fffdf9;
  --line: #ddd3c2;
  --line-dark: #3d372e;
  --text: #2a2620;
  --muted: #5d554a;
  --muted-dark: #b9b0a2;
  --bronze: #876632;
  --bronze-hover: #6d5127;
  --bronze-soft: #c9a76c;
  --bronze-wash: #f1e8d8;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Trebuchet MS', sans-serif;

  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-hero: clamp(2.6rem, 6.2vw, 5.1rem);
  --text-h2: clamp(2rem, 3.6vw, 3rem);
  --text-h3: clamp(1.45rem, 2vw, 1.75rem);

  --space-section: clamp(4rem, 8vw, 7rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 78px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--bronze-hover); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-md);
}
.skip-link:focus { top: 1rem; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: var(--text-hero); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); font-weight: 500; }
h3 { font-size: var(--text-h3); }
h1 em, h2 em { font-style: italic; color: var(--bronze); }
p { max-width: 68ch; }
p + p { margin-top: 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-section) 0; }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #e9e3d8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: var(--bronze-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--bronze-soft); }
.lead { font-size: var(--text-lg); color: var(--muted); }
.section--dark .lead { color: var(--muted-dark); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.6rem;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--bronze); color: #fff; }
.btn--primary:hover { background: var(--bronze-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn--ghost, .btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.section--dark .btn--ghost:hover, .btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--bronze); padding-bottom: 2px;
}
.link-arrow span { transition: transform .3s var(--ease-out); }
.link-arrow:hover { color: var(--bronze); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 245, 239, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(21,19,15,.05); }
.topbar { background: var(--ink); color: #d9d2c5; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar a { color: #d9d2c5; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__contacts { display: flex; gap: 1.5rem; }
.topbar__social { display: none; gap: 1.25rem; }
@media (min-width: 760px) { .topbar__social { display: flex; } }
@media (max-width: 520px) { .topbar__contacts a:nth-child(2) { display: none; } }

.nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }
.primary-nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: .6rem .8rem; font-size: .93rem; font-weight: 500; color: var(--ink); text-decoration: none;
  position: relative;
}
.nav-list > li > a::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list > li > a[aria-current="page"] { color: var(--bronze); }
.has-sub > a::before { content: none; }
.subnav {
  position: absolute; top: 100%; left: 0; min-width: 300px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--bronze);
  padding: .6rem 0; box-shadow: 0 18px 40px rgba(21,19,15,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s var(--ease-out);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { display: block; padding: .5rem 1.2rem; font-size: .92rem; color: var(--text); text-decoration: none; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--paper); color: var(--bronze); }
.nav-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .9rem;
  background: none; border: 1px solid var(--ink); border-radius: var(--radius-sm);
  font: 600 .85rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.menu-toggle__bars { width: 18px; height: 12px; position: relative; }
.menu-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line); background: var(--paper);
  max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; }
.mobile-nav > .container > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: .9rem 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: var(--bronze); }
.mobile-nav .mobile-sub { padding: 0 0 .75rem 1rem; border-left: 1px solid var(--bronze); margin-bottom: .75rem; }
.mobile-nav .mobile-sub a { padding: .45rem 0; font-weight: 400; font-size: .95rem; color: var(--muted); }
.mobile-nav .btn { margin: 1.25rem 0 1.5rem; width: 100%; }

@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .nav-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 30%, rgba(135,102,50,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(135,102,50,.07) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { max-width: 56ch; }
.hero__media { position: relative; }
.hero__media figure { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 50%; border-radius: var(--radius-sm); }
.hero__media::before {
  content: ''; position: absolute; top: -18px; right: -18px; width: 62%; height: 62%;
  border: 1px solid var(--bronze); border-radius: var(--radius-sm); z-index: -1;
}
@media (max-width: 959px) { .hero__media img { aspect-ratio: 16 / 11; } .hero__media::before { right: -8px; top: -10px; } }
.hero__caption {
  position: absolute; left: -1px; bottom: 1.25rem; background: var(--ink); color: #f1ebe0;
  padding: .85rem 1.2rem; font-size: .82rem; letter-spacing: .04em; max-width: 80%;
}
.hero__caption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: 0; color: #fff; }

.hero-load > * { animation: rise .9s var(--ease-out) both; }
.hero-load > *:nth-child(2) { animation-delay: .12s; }
.hero-load > *:nth-child(3) { animation-delay: .24s; }
.hero-load > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Fatos ---------- */
.facts { background: var(--ink); color: #e9e3d8; }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts__grid { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--line-dark); }
.fact:first-child { border-left: 0; }
@media (max-width: 899px) { .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
.fact__value { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1; color: #fff; font-weight: 500; }
.fact__label { display: block; margin-top: .6rem; font-size: .9rem; color: var(--muted-dark); max-width: 22ch; }

/* ---------- Split / escritório ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-media { grid-template-columns: 1.15fr .85fr; } }
.split__media img { width: 100%; border-radius: var(--radius-sm); }
.split__media--offset { position: relative; }
@media (min-width: 900px) { .split__media--offset { margin-left: calc(-1 * var(--gutter)); } }
.split h2 { margin-bottom: 1.5rem; }

/* ---------- Diferenciais ---------- */
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principle { padding: 2rem 1.5rem 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .principle { padding-right: 2rem; } }
.principle h3 { font-size: 1.45rem; margin-bottom: .75rem; }
.principle p { font-size: .97rem; color: var(--muted); }

/* ---------- Áreas ---------- */
.areas-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--white); text-decoration: none; color: var(--text);
  transition: background .35s var(--ease-out);
}
.area-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.area-card:hover { background: var(--paper); color: var(--text); }
.area-card:hover::after, .area-card:focus-visible::after { transform: scaleX(1); }
.area-card h2, .area-card h3 { font-size: 1.6rem; }
.area-card p { font-size: .96rem; color: var(--muted); flex: 1; }
.area-card .more { font-size: .88rem; font-weight: 600; color: var(--bronze); display: inline-flex; gap: .4rem; }
.area-card .more span { transition: transform .3s var(--ease-out); }
.area-card:hover .more span { transform: translateX(4px); }
.area-card--cta { background: var(--ink); color: #d6cec1; }
.area-card--cta:hover { background: var(--ink); color: #d6cec1; }
.area-card--cta h2, .area-card--cta h3 { color: #fff; }
.area-card--cta p { color: #cfc6b8; }
.area-card--cta::after { content: none; }
@media (min-width: 640px) and (max-width: 1023px) { .area-card--cta { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .area-card--cta { grid-column: span 2; } }
.areas-note { margin-top: 1.5rem; font-size: .92rem; color: var(--muted); }

/* ---------- Dra. Sandra ---------- */
.founder { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .founder { grid-template-columns: .8fr 1.2fr; } }
.founder__photo { position: relative; max-width: 440px; }
.founder__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.founder__photo::after {
  content: ''; position: absolute; left: 18px; bottom: -18px; width: 100%; height: 100%;
  border: 1px solid var(--bronze-soft); z-index: -1; border-radius: var(--radius-sm);
}
.founder__role { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze-soft); margin: .5rem 0 1.5rem; }
.section:not(.section--dark) .founder__role { color: var(--bronze); }
.credentials { list-style: none; display: grid; gap: 0; margin-top: 1.75rem; }
@media (min-width: 700px) { .credentials { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.credentials li { padding: .8rem 0; border-top: 1px solid var(--line); font-size: .96rem; }
.section--dark .credentials li { border-top-color: var(--line-dark); color: #ddd5c8; }
.credentials li span { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: .1rem; }
.section--dark .credentials li span { color: var(--bronze-soft); }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 85% 20%, rgba(201,167,108,.16) 0%, transparent 55%);
}
.cta-band .container { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1.3fr .7fr; } }
.cta-band h2 { max-width: 18ch; }
.cta-contacts { list-style: none; display: grid; gap: .9rem; }
.cta-contacts a { color: #fff; text-decoration: none; font-size: 1.05rem; }
.cta-contacts a:hover { color: var(--bronze-soft); }
.cta-contacts small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Cabeçalho de página interna ---------- */
.page-head { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 90% 0%, rgba(135,102,50,.10) 0%, transparent 55%);
}
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); max-width: 20ch; }
.page-head .lead { margin-top: 1.25rem; max-width: 62ch; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--bronze); }

/* ---------- Página de área ---------- */
.article-layout { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.6rem; margin-top: .55rem; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--bronze); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n) '.'; position: absolute; left: 0; color: var(--bronze); font-weight: 600; }
.prose .callout { border: 1px solid var(--line); background: var(--white); padding: 1.25rem 1.5rem; }
.prose .callout strong { color: var(--ink); }
.prose .pull { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.3; color: var(--ink); max-width: 32ch; }
.cols-list { columns: 1; }
@media (min-width: 640px) { .cols-list { columns: 2; column-gap: 2.5rem; } .cols-list li { break-inside: avoid; } }

.aside { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.aside-box { background: var(--white); border: 1px solid var(--line); padding: 1.6rem; }
.aside-box h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.aside-box ul { list-style: none; }
.aside-box li a { display: block; padding: .5rem 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .95rem; }
.aside-box li:first-child a { border-top: 0; }
.aside-box li a:hover, .aside-box li a[aria-current="page"] { color: var(--bronze); }
.aside-box--dark { background: var(--ink); border-color: var(--ink); color: #e3dccf; }
.aside-box--dark h2 { color: #fff; }
.aside-box--dark p { font-size: .95rem; margin-bottom: 1.25rem; }
.aside-box--dark .btn { width: 100%; }

.area-cta { margin-top: clamp(3rem, 6vw, 4.5rem); background: var(--ink); color: #e3dccf; padding: clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.area-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0%, rgba(201,167,108,.18) 0%, transparent 60%); pointer-events: none; }
.area-cta > * { position: relative; }
.area-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 26ch; }
.area-cta p { margin-top: .75rem; color: #cfc6b8; }

/* ---------- Sobre ---------- */
.mvv { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (min-width: 860px) { .mvv { grid-template-columns: repeat(3, 1fr); } }
.mvv > div { background: var(--ink-2); padding: clamp(1.75rem, 3vw, 2.5rem); }
.mvv h3 { font-size: 1.8rem; margin-bottom: .9rem; color: #fff; }
.mvv p { color: #d6cec1; font-size: .98rem; }
.gallery { display: grid; gap: 1rem; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1.6fr 1fr; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }

/* ---------- Profissionais ---------- */
.people { display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
.person {
  display: grid; gap: 1.5rem 2.5rem; background: var(--white); border: 1px solid var(--line);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
@media (min-width: 820px) { .person { grid-template-columns: 200px 1fr; } }
.person--featured { background: var(--ink); color: #e3dccf; border-color: var(--ink); }
@media (min-width: 820px) { .person--featured { grid-template-columns: 300px 1fr; } }
.person--featured h2 { color: #fff; }
.person__photo img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 819px) { .person__photo { max-width: 260px; } }
.monogram {
  width: 132px; height: 132px; display: grid; place-items: center;
  border: 1px solid var(--bronze); border-radius: 50%;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; font-style: italic; color: var(--bronze);
  background: radial-gradient(circle at 50% 35%, var(--bronze-wash), var(--white) 70%);
  position: relative;
}
.monogram::after { content: ''; position: absolute; inset: 7px; border: 1px solid var(--line); border-radius: 50%; }
.person h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.person__oab { margin-top: .4rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.person--featured .person__oab { color: var(--bronze-soft); }
.person__body > p { margin-top: 1.1rem; }
.person--featured .person__body > p { color: #d6cec1; }
.person h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 1.75rem; margin-bottom: .4rem; }
.person--featured h3 { color: var(--bronze-soft); }
.person ul { list-style: none; }
.person ul li { padding: .55rem 0; border-top: 1px solid var(--line); font-size: .96rem; }
.person--featured ul li { border-top-color: var(--line-dark); }
.people-index { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: .95rem; }
.people-index a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.people-index a:hover { color: var(--bronze); border-color: var(--bronze); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { list-style: none; display: grid; gap: 0; }
.contact-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: .2rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.contact-list a:hover { color: var(--bronze); }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: 1.1rem; }
.form h2 { font-size: 1.9rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; min-height: 48px;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); background: #fff; box-shadow: 0 0 0 3px rgba(135,102,50,.15); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--bronze); flex: none; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { font-size: .92rem; color: var(--bronze-hover); min-height: 1.4em; }
.map-wrap { margin-top: clamp(3rem, 6vw, 4.5rem); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: clamp(320px, 45vw, 440px); border: 0; filter: grayscale(.35) contrast(1.02); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #cfc7b9; font-size: .95rem; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1.1fr 1.1fr; } }
.footer-brand img { width: 170px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { color: #b9b0a2; font-size: .93rem; max-width: 36ch; }
.site-footer h2 { font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-soft); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { color: #e6dfd2; text-decoration: none; }
.site-footer a:hover { color: var(--bronze-soft); }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .84rem; color: #a59c8e; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(.9rem, 2.5vw, 1.75rem); bottom: clamp(.9rem, 2.5vw, 1.75rem); z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: 0 1.15rem 0 1rem;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem;
  border: 1px solid var(--bronze-soft); border-radius: 999px; box-shadow: 0 10px 30px rgba(21,19,15,.28);
  transition: transform .3s var(--ease-out), background .3s;
}
.wa-float svg { width: 22px; height: 22px; color: var(--bronze-soft); }
.wa-float:hover { background: var(--bronze); color: #fff; transform: translateY(-2px); }
.wa-float:hover svg { color: #fff; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 54px; justify-content: center; } }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; align-content: center; }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
