/* ══════════════════════════════════════════════════════════
   LMR Advogados Associados — Design System
   Baseado no Manual da Marca v1.0 (Abril 2026)
   ══════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --navy: #253568;
  --navy-light: #3A4D8C;
  --navy-dark: #1A2650;
  --charcoal: #2D3133;
  --charcoal-mid: #4A4F55;
  --charcoal-light: #6B717A;
  --gray: #8A8F99;
  --gray-light: #C8C9CC;
  --border: #E2E0DA;
  --off-white: #F5F4F0;
  --white: #FFFFFF;
  --gold: #B8975A;
  --gold-light: #D4B47A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 4px;
  --max-w: 1200px;
  --header-h: 80px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.mobile-nav-open,
body.contact-modal-open,
body.team-modal-open {
  overflow: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* ── Skip link ── */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  padding: .75rem 1rem; border-radius: var(--radius);
  background: var(--navy); color: var(--white);
  font-size: .875rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ── Container ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ── Typography ── */
.display-xl { font-family: var(--font-display); font-size: 52px; font-weight: 400; letter-spacing: -1.5px; line-height: 1.05; }
.display-lg { font-family: var(--font-display); font-size: 38px; font-weight: 400; letter-spacing: -1px; line-height: 1.1; }
.display-md { font-family: var(--font-display); font-size: 28px; font-weight: 400; letter-spacing: -.5px; line-height: 1.15; }
.display-sm { font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: -.3px; line-height: 1.2; }
.title-lg { font-size: 20px; font-weight: 500; line-height: 1.3; }
.title-md { font-size: 17px; font-weight: 500; line-height: 1.4; }
.body-text { font-size: 15px; font-weight: 400; line-height: 1.7; color: var(--charcoal-mid); }
.small-text { font-size: 13px; font-weight: 400; line-height: 1.55; color: var(--charcoal-mid); }
.caption { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

/* ── Divider ── */
.gold-divider { width: 40px; height: 2px; background: var(--gold); margin: 24px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0; white-space: nowrap;
  transition:
    transform 160ms var(--ease-out),
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--charcoal-mid); padding: 12px 0; text-decoration: underline; text-decoration-color: var(--gray-light); }
.btn-ghost:hover { color: var(--charcoal); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); }
.btn-lg { padding: 14px 32px; font-size: 14px; }
.btn-sm { padding: 8px 18px; font-size: 12px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 220ms ease;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 24px; }
.card-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 2px;
  font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.badge-navy { background: #EEF0F6; color: var(--navy); }
.badge-gold { background: #F7F0E4; color: #9A7B45; }

/* ══ HEADER ══ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); height: var(--header-h);
  overflow: visible;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
@media (min-width: 1024px) { .header-inner { padding: 0 48px; } }

.header-logo { display: flex; align-items: center; gap: 12px; }
.header-logo svg { width: 40px; height: 40px; flex-shrink: 0; }
.header-logo img { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.header-logo-divider { width: 1px; height: 32px; background: var(--border); }
.header-logo-text { display: flex; flex-direction: column; }
.header-logo-firm { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--charcoal); line-height: 1; }
.header-logo-sub { font-size: 9px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal-mid); margin-top: 4px; }

.header-nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.header-nav a, .header-nav button {
  font-size: 13px; font-weight: 500; color: var(--charcoal-light);
  transition: color 150ms; padding: 0; background: none; border: none;
}
.header-nav a:hover, .header-nav button:hover { color: var(--navy); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--charcoal);
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
  touch-action: manipulation;
  position: relative;
  z-index: 101;
}
.menu-toggle:hover,
.menu-toggle.is-active {
  background: rgba(37,53,104,.08);
  color: var(--navy);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 24px; height: 24px; }

/* Mobile nav */
.mobile-nav {
  display: flex; position: fixed; top: calc(var(--header-h) - 1px); left: 0; right: 0;
  width: 100%;
  height: calc(100dvh - var(--header-h) + 1px);
  max-height: calc(100dvh - var(--header-h) + 1px);
  background: rgba(255,255,255,.985); z-index: 99; padding: 24px;
  flex-direction: column; gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: 0 26px 40px -30px rgba(26,38,80,.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    visibility 0s linear 180ms;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.mobile-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245,244,240,.82), rgba(255,255,255,.98) 22%),
    linear-gradient(135deg, rgba(37,53,104,.04), transparent 45%);
  pointer-events: none;
}
.mobile-nav > a,
.mobile-nav > button:not(.btn) {
  display: block; padding: 16px 0;
  font-size: 15px; font-weight: 500; color: var(--charcoal);
  border-bottom: 1px solid var(--border); text-align: left; width: 100%;
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}
.mobile-nav .btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  padding: 14px 18px;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  text-align: center;
  border-bottom: none;
}
.mobile-nav .btn.btn-primary,
.mobile-nav .btn.btn-primary:hover,
.mobile-nav .btn.btn-primary:focus,
.mobile-nav .btn.btn-primary:active {
  color: var(--white) !important;
  -webkit-text-fill-color: var(--white);
}
@supports not (height: 100dvh) {
  .mobile-nav {
    height: calc(100vh - var(--header-h) + 1px);
    max-height: calc(100vh - var(--header-h) + 1px);
  }
}
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}

/* ══ HERO ══ */
.hero {
  position: relative; overflow: hidden;
  background: var(--charcoal); padding: 80px 0 96px;
}
.hero::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 42%; height: 100%;
  background: var(--navy); opacity: .18;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-shell {
  display: grid;
  gap: 40px;
  align-items: end;
}
@media (min-width: 1024px) {
  .hero-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  }
}
.hero-content { max-width: 640px; }
.hero .label { color: var(--gold-light); margin-bottom: 16px; display: block; }
.hero h1 { font-family: var(--font-display); font-size: 48px; font-weight: 400; letter-spacing: -1.5px; line-height: 1.05; color: var(--white); margin-bottom: 8px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-family: var(--font-display); font-size: 18px; font-weight: 400; font-style: italic; color: rgba(255,255,255,.55); margin-bottom: 32px; line-height: 1.5; }
.hero-badges { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}
.hero-badge svg { width: 18px; height: 18px; stroke: var(--gold-light); stroke-width: 1.5; fill: none; }
.hero-badge span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.8); letter-spacing: .5px; }
.hero-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(212,180,122,.16), transparent 45%),
    linear-gradient(180deg, transparent, rgba(37,53,104,.26));
  pointer-events: none;
}
.hero-panel > * { position: relative; z-index: 1; }
.hero-panel .label {
  display: block;
  margin-bottom: 10px;
}
.hero-panel h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -.6px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-panel p {
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.7;
}
.hero-panel-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 24px;
}
.hero-panel-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.hero-panel-icon {
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-panel-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.7;
}
.hero-panel-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-panel-copy span {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.6;
}
.hero-panel-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-panel-areas a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.76);
  transition:
    transform 160ms var(--ease-out),
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}
.hero-panel-areas a:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.22);
}
.hero-panel-areas a:active { transform: translateY(1px); }
@media (max-width: 768px) {
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }
  .hero-panel { padding: 22px; }
  .hero-panel h2 { font-size: 26px; }
}

/* ══ SECTIONS ══ */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-bg { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { color: var(--charcoal); margin-bottom: 12px; }
.section-header p { color: var(--charcoal-mid); max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.6; }

/* ══ WHY SECTION ══ */
.why-section { background: var(--off-white); }
.why-inner {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) { .why-inner { grid-template-columns: 1fr 1fr; } }
.why-inner h2 { color: var(--charcoal); }
.why-inner p { color: var(--charcoal-mid); line-height: 1.75; }

/* ══ VALUE GRID ══ */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.value-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.value-card .label {
  color: var(--navy);
  margin-bottom: 14px;
  display: block;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.3px;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.value-card p {
  color: var(--charcoal-mid);
  font-size: 14px;
  line-height: 1.7;
}

/* ══ AREAS GRID ══ */
.areas-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1000px; margin: 0 auto;
}
@media (min-width: 640px) { .areas-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: 1fr 1fr 1fr; } }
.area-card { display: flex; flex-direction: column; }
.area-card .card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; }
.area-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: rgba(37,53,104,.08); display: flex; align-items: center; justify-content: center;
}
.area-card-icon svg { width: 22px; height: 22px; stroke: var(--navy); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: -.2px; color: var(--charcoal); }
.area-card p { font-size: 14px; line-height: 1.65; color: var(--charcoal-mid); flex: 1; }
.area-card .btn { margin-top: auto; align-self: flex-start; }

/* ══ CTA BANNER ══ */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--navy); padding: 64px 0; text-align: center;
}
.cta-banner::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 35%; height: 100%; background: var(--charcoal); opacity: .15;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { font-family: var(--font-display); font-size: 36px; font-weight: 400; letter-spacing: -1px; line-height: 1.1; color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 auto 28px; }
@media (max-width: 768px) { .cta-banner h2 { font-size: 28px; } }

/* ══ TEAM ══ */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr 1fr; } }
.team-card { text-align: center; }
.team-card-img { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card .card-body { padding: 20px; }
.team-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--charcoal); margin-bottom: 2px; }
.team-card .oab { font-size: 12px; color: var(--gray); margin-bottom: 12px; display: block; }
.team-card .social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius);
  color: var(--navy); transition: background 150ms;
}
.team-card .social-link:hover { background: rgba(37,53,104,.08); }
.team-card .social-link svg { width: 16px; height: 16px; }

/* ══ BLOG CARDS ══ */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: 1fr 1fr 1fr; } }
.blog-card { display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-2px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; }
.blog-card .date { font-size: 12px; color: var(--gray); }
.blog-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: -.2px; color: var(--charcoal); line-height: 1.2; }
.blog-card p { font-size: 14px; line-height: 1.6; color: var(--charcoal-mid); flex: 1; }
.blog-card .read-more { font-size: 13px; font-weight: 500; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; transition: gap 150ms; }
.blog-card .read-more:hover { gap: 10px; }
.blog-card .read-more svg { width: 14px; height: 14px; }
.skeleton { background: linear-gradient(90deg, var(--off-white) 25%, #e8e7e3 50%, var(--off-white) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ══ FOOTER ══ */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.6); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-logo svg { width: 36px; height: 36px; }
.footer-logo img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.footer-logo-text { display: flex; flex-direction: column; }
.footer-logo-firm { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--white); line-height: 1; }
.footer-logo-sub { font-size: 8px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 4px; }
.footer-tagline { font-family: var(--font-display); font-size: 16px; font-style: italic; color: rgba(255,255,255,.45); }
.footer-legal h4 { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.footer-legal p { font-size: 12px; line-height: 1.65; color: rgba(255,255,255,.4); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }

/* ══ MODAL ══ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); width: 100%; max-width: 440px;
  max-height: 90vh; overflow-y: auto; position: relative;
}
.modal-header { padding: 28px 28px 0; }
.modal-header h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--charcoal); margin-bottom: 4px; }
.modal-header p { font-size: 14px; color: var(--charcoal-mid); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); transition: all 150ms;
}
.modal-close:hover { background: var(--off-white); color: var(--charcoal); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 24px 28px 28px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--charcoal-mid); margin-bottom: 6px; }
.form-input, .form-select {
  width: 100%; padding: 10px 14px;
  font-family: var(--font-body); font-size: 14px; color: var(--charcoal);
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius); outline: none; transition: border-color 150ms;
}
.form-input:focus, .form-select:focus { border-color: var(--navy); }
.form-input::placeholder { color: var(--gray); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8F99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ══ TEAM MODAL ══ */
.team-modal .modal { max-width: 520px; }
.team-modal-header { display: flex; align-items: center; gap: 16px; padding: 28px 28px 20px; border-bottom: 1px solid var(--border); }
.team-modal-header img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.team-modal-header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--charcoal); }
.team-modal-header .oab { font-size: 12px; color: var(--gray); }
.team-modal-body { padding: 24px 28px 28px; }
.team-modal-section-title { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal-mid); margin: 20px 0 10px; }
.team-modal-section-title:first-child { margin-top: 0; }
.team-modal-body p { font-size: 14px; line-height: 1.65; color: var(--charcoal-mid); }
.team-modal-body ul { display: flex; flex-direction: column; gap: 6px; }
.team-modal-body li { font-size: 13px; color: var(--charcoal-mid); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.team-modal-body li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.team-modal-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.team-modal-areas .badge { pointer-events: none; }
.team-modal-instagram { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--navy); margin-top: 20px; transition: color 150ms; }
.team-modal-instagram:hover { color: var(--navy-light); }
.team-modal-instagram svg { width: 16px; height: 16px; }

/* ══ AREA PAGE ══ */
.area-hero {
  position: relative; overflow: hidden;
  background: var(--navy); padding: 56px 0;
}
.area-hero::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 35%; height: 100%; background: var(--charcoal); opacity: .2;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.area-hero .container { position: relative; z-index: 1; }
.area-hero .breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.area-hero .breadcrumb a { font-size: 12px; color: rgba(255,255,255,.5); transition: color 150ms; }
.area-hero .breadcrumb a:hover { color: var(--white); }
.area-hero .breadcrumb span { font-size: 12px; color: rgba(255,255,255,.3); }
.area-hero .breadcrumb .current { font-size: 12px; color: var(--gold-light); }
.area-hero h1 { font-family: var(--font-display); font-size: 42px; font-weight: 400; letter-spacing: -1px; line-height: 1.08; color: var(--white); margin-bottom: 16px; }
.area-hero p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.65); max-width: 640px; }
@media (max-width: 768px) { .area-hero h1 { font-size: 32px; } }

.area-content { padding: 64px 0; }
.area-content-inner { max-width: 800px; margin: 0 auto; }
.area-block { margin-bottom: 48px; }
.area-block:last-child { margin-bottom: 0; }
.area-block h2 { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: -.3px; color: var(--charcoal); margin-bottom: 16px; }
.area-block ul { display: flex; flex-direction: column; gap: 10px; }
.area-block li { font-size: 15px; line-height: 1.6; color: var(--charcoal-mid); display: flex; align-items: flex-start; gap: 10px; }
.area-block li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
.area-lawyers { margin-top: 48px; }
.area-lawyers h2 { font-family: var(--font-display); font-size: 24px; font-weight: 400; letter-spacing: -.3px; color: var(--charcoal); margin-bottom: 20px; }
.area-lawyer-cards { display: flex; gap: 16px; flex-wrap: wrap; }
.area-lawyer-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.area-lawyer-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.area-lawyer-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--charcoal); }
.area-lawyer-card .oab { font-size: 12px; color: var(--gray); display: block; margin-top: 2px; }
.area-lawyer-card .social-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--navy); margin-top: 4px; transition: color 150ms; }
.area-lawyer-card .social-link:hover { color: var(--navy-light); }
.area-lawyer-card .social-link svg { width: 14px; height: 14px; }

/* ══ BLOG PAGE ══ */
.blog-hero { background: var(--charcoal); padding: 56px 0; position: relative; overflow: hidden; }
.blog-hero::after { content: ''; position: absolute; top: 0; right: 0; width: 35%; height: 100%; background: var(--navy); opacity: .18; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 { font-family: var(--font-display); font-size: 42px; font-weight: 400; letter-spacing: -1px; line-height: 1.08; color: var(--white); margin-bottom: 8px; }
.blog-hero p { font-size: 16px; color: rgba(255,255,255,.55); }

.blog-listing { padding: 48px 0 80px; }
.blog-listing .blog-grid { max-width: 1000px; }
.blog-empty { text-align: center; padding: 64px 0; color: var(--gray); font-size: 15px; }

/* ══ ARTICLE PAGE ══ */
.article-page { padding: 48px 0 80px; }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 32px; transition: gap 150ms; }
.article-back:hover { gap: 10px; }
.article-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.article-header { max-width: 720px; margin: 0 auto 40px; }
.article-date { font-size: 12px; color: var(--gray); margin-bottom: 8px; display: block; }
.article-header h1 { font-family: var(--font-display); font-size: 38px; font-weight: 400; letter-spacing: -1px; line-height: 1.1; color: var(--charcoal); }
.article-featured-img { max-width: 720px; margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; }
.article-featured-img img { width: 100%; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { font-size: 16px; line-height: 1.8; color: var(--charcoal-mid); margin-bottom: 20px; }
.article-body h2 { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--charcoal); margin: 36px 0 12px; }
.article-body h3 { font-size: 18px; font-weight: 500; color: var(--charcoal); margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 12px 0 20px; padding-left: 24px; }
.article-body li { font-size: 16px; line-height: 1.8; color: var(--charcoal-mid); margin-bottom: 6px; list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gray-light); }
.article-body a:hover { text-decoration-color: var(--navy); }
.article-body blockquote { border-left: 3px solid var(--gold); padding: 16px 24px; margin: 20px 0; background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; }
.article-body blockquote p { font-style: italic; color: var(--charcoal); margin-bottom: 0; }
.article-body img { border-radius: var(--radius); margin: 20px 0; }
.article-not-found { text-align: center; padding: 80px 0; }
.article-not-found h2 { font-family: var(--font-display); font-size: 28px; color: var(--charcoal); margin-bottom: 16px; }

/* ══ UTILITY ══ */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}
body.mobile-nav-open .floating-contact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.floating-contact-note {
  max-width: 220px;
  padding: 10px 14px;
  background: rgba(45,49,51,.94);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px -24px rgba(0,0,0,.55);
  font-size: 12px;
  line-height: 1.55;
}
.floating-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 16px 9px 10px;
  background: var(--navy);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  box-shadow: 0 22px 42px -26px rgba(26,38,80,.78);
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms ease,
    box-shadow 180ms ease;
}
.floating-contact-btn:hover {
  background: var(--navy-light);
  box-shadow: 0 26px 48px -24px rgba(26,38,80,.72);
  transform: translateY(-2px);
}
.floating-contact-btn:active { transform: translateY(1px) scale(.985); }
.floating-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.floating-contact-icon img {
  width: 20px;
  height: 20px;
  display: block;
}
.floating-contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1px;
}
.floating-contact-copy strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.1px;
}
.floating-contact-copy span {
  font-size: 11px;
  color: rgba(255,255,255,.68);
}
@media (max-width: 640px) {
  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
  .floating-contact-note { display: none; }
  .floating-contact-btn {
    width: 62px;
    height: 62px;
    min-height: 62px;
    padding: 0;
    justify-content: center;
  }
  .floating-contact-copy { display: none; }
  .floating-contact-icon {
    width: 40px;
    height: 40px;
  }
}

/* ══ PRINT ══ */
@media print {
  .site-header, .site-footer, .modal-overlay, .cta-banner, .floating-contact { display: none; }
  .hero { background: var(--white); color: var(--charcoal); padding: 24px 0; }
  .hero h1 { color: var(--charcoal); }
  .hero::after { display: none; }
  body { font-size: 12px; }
}
