*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0F2040;
  --navy2:   #172D55;
  --navy3:   #1E3A6E;
  --gold:    #C49A2A;
  --gold2:   #D9B44A;
  --gold-bg: #FBF5E6;
  --cream:   #FAFAF7;
  --off:     #F3F1EC;
  --border:  #E2DDD3;
  --text:    #1A1A2E;
  --body:    #3D3D50;
  --muted:   #72728A;
  --white:   #FFFFFF;
  --r:       14px;
  --r-sm:    8px;
  --sh:      0 2px 16px rgba(15,32,64,0.08);
  --sh-md:   0 6px 32px rgba(15,32,64,0.13);
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-width: 0; flex-shrink: 1; }
.nav-badge {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: rgba(196,154,42,0.15); border: 1.5px solid var(--gold2);
  display: flex; align-items: center; justify-content: center;
}
.nav-badge span {
  font-family: 'Merriweather', serif; font-size: 0.85rem; font-weight: 700; color: var(--gold2);
}
.nav-label-main { font-size: 0.92rem; font-weight: 600; color: #fff; display: block; line-height: 1.2; }
.nav-label-sub { font-size: 0.6rem; color: rgba(255,255,255,0.45); letter-spacing: 0.07em; text-transform: uppercase; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold2); }
.nav-btn {
  font-size: 0.78rem; font-weight: 600; background: #B8860B; color: #fff;
  text-decoration: none; padding: 0.55rem 1.4rem; border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.15s;
}
.nav-btn:hover { background: var(--gold2); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; padding-top: 68px;
  background: #ffffff;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: stretch; overflow: hidden;
}
.hero-left {
  padding: 5rem 3.5rem 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--off); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.35rem 1rem;
  width: fit-content; margin-bottom: 2rem;
}
.hero-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-pill-text { font-size: 0.72rem; color: var(--gold); font-weight: 500; }
.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 3.2vw, 3.2rem); font-weight: 700; line-height: 1.3;
  color: var(--text); margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--gold); font-style: italic; }
.hero-desc { font-size: 1rem; line-height: 1.8; color: var(--body); max-width: 460px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 0.875rem; flex-wrap: wrap; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #B8860B; color: #fff;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  padding: 0.875rem 2rem; border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover { background: var(--gold); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--border); color: var(--body);
  font-size: 0.85rem; font-weight: 500; text-decoration: none;
  padding: 0.875rem 2rem; border-radius: var(--r-sm);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--text); color: var(--text); }

.hero-right {
  background: var(--off); border-left: 1px solid var(--border);
  padding: 5rem 3.5rem 5rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-stat {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.75rem 0; border-bottom: 1px solid var(--border);
}
.hero-stat:first-child { padding-top: 0; }
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(196,154,42,0.15); border: 1px solid rgba(196,154,42,0.25);
  display: flex; align-items: center; justify-content: center;
}
.stat-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.stat-num {
  font-family: 'Merriweather', serif; font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--gold);
}
.stat-lbl { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.stat-sub { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* ─── PILLARS BAR ─── */
.pillars {
  background: var(--gold-bg); border-top: 1px solid #E8D9A8; border-bottom: 1px solid #E8D9A8; padding: 1.25rem 2rem;
}
.pillars-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.pillar {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; color: #7A5C0A;
}
.pillar-diamond { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* ─── SECTION HELPERS ─── */
section { padding: 5.5rem 2rem; }
.inner { max-width: 1100px; margin: 0 auto; }
.kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem;
}
.kicker::before { content: ''; display: block; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }
h2.stitle {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.25;
  color: var(--text); margin-bottom: 1rem;
}
h2.stitle em { font-style: italic; color: var(--gold); }

/* ─── SOBRE ─── */
#sobre { background: var(--cream); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 5rem; align-items: start; }
.sobre-quote {
  margin-top: 2rem; background: var(--white);
  border-radius: var(--r); border: 1px solid var(--border);
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  box-shadow: var(--sh); position: relative;
}
.sobre-quote::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px; border-radius: var(--r) 0 0 var(--r); background: var(--gold);
}
.sobre-quote p {
  font-family: 'Merriweather', serif; font-style: italic;
  font-size: 0.95rem; line-height: 1.8; color: var(--body);
}
.sobre-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.75rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--off); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.35rem 0.9rem;
  font-size: 0.75rem; font-weight: 600; color: var(--navy);
}
.chip-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.sobre-body p { font-size: 0.93rem; line-height: 1.85; color: var(--body); margin-bottom: 1.1rem; }
.sobre-body p:last-child { margin-bottom: 0; }
.sobre-body strong { color: var(--text); font-weight: 600; }

/* ─── ÁREAS ─── */
#areas { background: var(--off); }
.areas-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.areas-intro { font-size: 0.9rem; color: var(--muted); max-width: 400px; line-height: 1.7; }
.areas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.acard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.75rem 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--sh);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.acard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(196,154,42,0.5); }
.acard-top { display: flex; align-items: center; gap: 1rem; }
.acard-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--gold-bg); border: 1px solid #E8D9A8;
  display: flex; align-items: center; justify-content: center;
}
.acard-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.acard-name { font-family: 'Merriweather', serif; font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.acard-desc { font-size: 0.82rem; line-height: 1.7; color: var(--body); flex: 1; }
.acard-foot {
  margin-top: auto; padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.45rem;
}
.acard-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.acard-tag { font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

/* ─── ADVOGADOS ─── */
#advogados { background: var(--cream); }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.adv-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.25rem 2rem;
  box-shadow: var(--sh); display: flex; flex-direction: column; gap: 1rem;
  transition: box-shadow 0.2s;
}
.adv-card:hover { box-shadow: var(--sh-md); }
.adv-top { display: flex; align-items: center; gap: 1.25rem; }
.adv-av {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.adv-av span { font-family: 'Merriweather', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold2); }
.adv-name { font-family: 'Merriweather', serif; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.adv-oab { font-size: 0.72rem; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.15rem; }
.adv-exp {
  font-size: 0.85rem; color: var(--body); line-height: 1.65;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.adv-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.adv-tag {
  font-size: 0.72rem; font-weight: 500; color: var(--navy);
  background: var(--off); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.3rem 0.8rem;
}

/* ─── TRIBUNAIS ─── */
#tribunais { background: var(--navy); padding: 2.25rem 2rem; }
.trib-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.trib-lbl {
  font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding-right: 2.5rem; border-right: 1px solid rgba(255,255,255,0.12);
}
.trib-links { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding-left: 2rem; }
.trib-link {
  font-family: 'Merriweather', serif; font-size: 0.88rem; font-weight: 700;
  color: var(--gold2); text-decoration: none;
  padding: 0.4rem 1rem; border-radius: var(--r-sm);
  background: rgba(196,154,42,0.1); border: 1px solid rgba(196,154,42,0.2);
  transition: background 0.2s, border-color 0.2s;
}
.trib-link:hover { background: rgba(196,154,42,0.22); border-color: rgba(196,154,42,0.5); }

/* ─── CONTATO ─── */
#contato { background: var(--off); }
.contato-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.cform {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.5rem; box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 0.4rem; }
.fg label { font-size: 0.75rem; font-weight: 600; color: var(--text); }
.fg input, .fg select, .fg textarea {
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: var(--text);
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); padding: 0.75rem 1rem; outline: none; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,154,42,0.12);
}
.fg textarea { resize: vertical; min-height: 120px; }
.cform-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--navy); color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 600; border: none; border-radius: var(--r-sm);
  padding: 0.9rem 2rem; cursor: pointer; margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.cform-btn:hover { background: var(--navy2); transform: translateY(-1px); }
.cform-btn svg { width: 16px; height: 16px; fill: var(--gold2); }

.c-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.c-aside-title { font-family: 'Merriweather', serif; font-size: 1.5rem; font-weight: 700; color: var(--text); }
.c-aside-sub { font-size: 0.88rem; color: var(--body); line-height: 1.7; margin-top: 0.35rem; }
.info-list { display: flex; flex-direction: column; gap: 0.75rem; }
.icard {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 1rem 1.25rem;
}
.icard-ico {
  width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
  background: var(--gold-bg); border: 1px solid #E8D9A8;
  display: flex; align-items: center; justify-content: center;
}
.icard-ico svg { width: 16px; height: 16px; fill: var(--gold); }
.icard-lbl { font-size: 0.67rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.2rem; }
.icard-val { font-size: 0.84rem; color: var(--text); line-height: 1.55; }
.icard-val a { color: var(--text); text-decoration: none; }
.icard-val a:hover { color: var(--gold); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.f-brand { font-size: 0.85rem; font-weight: 600; color: var(--gold2); }
.f-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.f-oab { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #ffffff; border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  z-index: 499;
  background: #fff;
  padding: 2rem 1.5rem;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu ul li { border-bottom: 1px solid var(--border); }
.mobile-menu ul li a {
  display: block; padding: 1.1rem 0;
  font-size: 1rem; font-weight: 500; color: var(--text);
  text-decoration: none; transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--gold); }
.mobile-menu .mobile-cta {
  display: block; width: 100%; margin-top: 1.5rem;
  background: #B8860B; color: #fff !important;
  padding: 0.875rem 2rem; border-radius: var(--r-sm);
  font-weight: 600; text-align: center;
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-btn { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-right {
    display: flex;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem;
  }
  .hero-left { padding: 4rem 1.5rem 2rem; }
  .sobre-grid { grid-template-columns: 1fr; gap: 2rem; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .areas-grid { grid-template-columns: 1fr; }
  .trib-inner { flex-direction: column; gap: 1rem; }
  .trib-lbl { border-right: none; padding-right: 0; }
  .trib-links { padding-left: 0; justify-content: center; }
}
