/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a55a;
  --gold-light: #e4c27a;
  --gold-dark: #a07830;
  --dark: #0b0c10;
  --dark-2: #111318;
  --dark-3: #1a1c24;
  --dark-4: #22252f;
  --text: #e8e8e8;
  --text-muted: #9a9ba8;
  --white: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 32px rgba(201, 165, 90, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold { color: var(--gold); }

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline:hover {
  background: rgba(201, 165, 90, 0.1);
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1rem;
  width: 100%;
  justify-content: center;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 165, 90, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.logo__img--small {
  width: 38px;
  height: 38px;
}

.logo__fallback {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-3);
  border: 2px solid var(--gold);
  align-items: center;
  justify-content: center;
}

.logo__fallback--small {
  width: 38px;
  height: 38px;
}

.logo__letters {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gold);
}

.logo__letters--small { font-size: 0.9rem; }

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.logo__subtitle {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--white); }

.nav__link--cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav__link--cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark);
  transform: translateY(-1px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-top: 1px solid rgba(201, 165, 90, 0.1);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-nav__link:hover { color: var(--gold); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 165, 90, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* STATS */
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: var(--dark-3);
  border: 1px solid rgba(201, 165, 90, 0.2);
  border-radius: var(--radius);
  padding: 24px 28px;
  min-width: 200px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  border-color: rgba(201, 165, 90, 0.5);
  box-shadow: var(--shadow-gold);
}

.stat-card--wide {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stat-card--wide .stat-card__icon { color: var(--gold); }

.stat-card__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================================
   AREAS
   ============================================= */
.areas {
  padding: 100px 0;
  background: var(--dark-2);
}

.areas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.area-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.area-card:hover {
  border-color: rgba(201, 165, 90, 0.3);
  transform: translateY(-4px);
}

.area-card--highlight {
  border-color: rgba(201, 165, 90, 0.3);
  background: linear-gradient(145deg, var(--dark-3), rgba(201, 165, 90, 0.04));
}

.area-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.area-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 165, 90, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.area-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.area-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.area-card__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 28px;
}

.area-card__list li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.area-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.area-card__cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.2s, color 0.2s;
}
.area-card__cta:hover { color: var(--gold-light); }

/* =============================================
   DIFERENCIAIS
   ============================================= */
.diferenciais {
  padding: 100px 0;
}

.diferenciais__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diferenciais__text .section-title { text-align: left; }
.diferenciais__text .section-eyebrow { }

.diferenciais__text { }

.diferenciais__text p:first-of-type {  }

.diferenciais__text > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.diferenciais__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.diferencial-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.diferencial-item__icon {
  width: 28px;
  height: 28px;
  background: rgba(201, 165, 90, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.diferencial-item strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.diferencial-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* QUOTE CARD */
.quote-card {
  background: var(--dark-3);
  border: 1px solid rgba(201, 165, 90, 0.25);
  border-radius: var(--radius);
  padding: 48px 40px;
  position: relative;
  box-shadow: var(--shadow-gold);
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius) var(--radius) 0 0;
}

.quote-card__mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 16px;
  opacity: 0.6;
}

.quote-card__text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 28px;
}

.quote-card__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
  opacity: 0.5;
}

.quote-card__author {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =============================================
   EQUIPE
   ============================================= */
.equipe {
  padding: 100px 0;
  background: var(--dark);
}

.equipe__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .equipe__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .equipe__grid { grid-template-columns: 1fr; }
}

.advogado-card {
  background: var(--dark-3);
  border: 1px solid rgba(201, 165, 90, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.advogado-card:hover {
  border-color: rgba(201, 165, 90, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.advogado-card__photo {
  width: 100%;
  height: 260px;
  background: var(--dark-4);
  overflow: hidden;
  position: relative;
}
.advogado-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
/* Ajuste individual de enquadramento por advogado */
.advogado-card:nth-child(1) .advogado-card__photo img { object-position: center 18%; }
.advogado-card:nth-child(4) .advogado-card__photo img { object-position: center 2%; }

.advogado-card__photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: rgba(201, 165, 90, 0.3);
  background: linear-gradient(160deg, var(--dark-3), var(--dark-4));
}

.advogado-card__info {
  padding: 28px;
}

.advogado-card__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.advogado-card__oab {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 165, 90, 0.1);
  border: 1px solid rgba(201, 165, 90, 0.2);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.advogado-card__especialidade {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
}

.advogado-card__bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   MAPA
   ============================================= */
.mapa {
  padding: 100px 0;
  background: var(--dark-2);
}

.mapa__wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 165, 90, 0.15);
}

.mapa__wrapper iframe {
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

.mapa__info {
  background: var(--dark-3);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(201, 165, 90, 0.1);
}

.mapa__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.mapa__info-item svg { color: var(--gold); flex-shrink: 0; }

.mapa__directions {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s;
}
.mapa__directions:hover { color: var(--gold-light); }

/* =============================================
   CONTATO
   ============================================= */
.contato {
  padding: 100px 0;
  background: var(--dark-2);
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contato__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.contato__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contato__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato__info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.contato__info-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
a.contato__info-item:hover { color: var(--gold); }

/* CONTATO CARD */
.contato__card {
  background: var(--dark-3);
  border: 1px solid rgba(201, 165, 90, 0.2);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.contato__card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contato__card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.contato__card-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.6;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links li a,
.footer__links li span {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links li a:hover { color: var(--gold); }

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stat-card { flex: 1; min-width: 140px; }

  .areas__grid { grid-template-columns: 1fr; }
  .area-card__list { grid-template-columns: 1fr; }

  .diferenciais__inner { grid-template-columns: 1fr; gap: 48px; }

  .contato__inner { grid-template-columns: 1fr; gap: 48px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .hero { padding: 120px 0 60px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stat-card { min-width: 100%; }
  .quote-card { padding: 32px 24px; }
  .quote-card__text { font-size: 1.3rem; }
}
