/* ============================================================
   OLIVEIRA & PARAFIANIUK ADVOGADOS — STYLESHEET
   Paleta: Deep navy (#0B1628), Gold (#C9A84C), Off-white (#F5F0E8)
   Fonte display: Cormorant Garamond (elegância jurídica)
   Fonte body: Lato (leitura limpa)
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;700&display=swap');

/* ══════════════════════════════════════════════════
   VARIÁVEIS GLOBAIS
══════════════════════════════════════════════════ */
:root {
  --navy:      #0B1628;       /* fundo principal */
  --navy-mid:  #132035;       /* cards / seções alternadas */
  --navy-light:#1C2E4A;       /* hover / bordas internas */
  --gold:      #C9A84C;       /* destaque dourado */
  --gold-light:#E0C678;       /* hover do dourado */
  --cream:     #F5F0E8;       /* texto principal claro */
  --cream-dim: #B8B0A0;       /* texto secundário */
  --white:     #FFFFFF;
  --ff-display:'Playfair Display', Georgia, serif;
  --ff-title:  'DM Sans', sans-serif;
  --ff-body:   'DM Sans', sans-serif;
  --transition: 0.35s ease;
  --radius:    4px;
  --shadow:    0 8px 40px rgba(0,0,0,0.4);
}

/* ══════════════════════════════════════════════════
   GOOGLE MATERIAL SYMBOLS — ESTILOS GLOBAIS
══════════════════════════════════════════════════ */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
  display: inline-block;
}

/* Ícones dentro dos cards de área */
.area-card__icon .material-symbols-outlined {
  font-size: 2.2rem;
  color: var(--gold);
}

/* Ícones dos advogados */
.sobre__adv-icon .material-symbols-outlined {
  font-size: 1.3rem;
  color: var(--gold);
}

/* Ícones dos diferenciais */
.diferencial-item__icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--gold);
}

/* Ícones das opções de contato */
.contato__option-icon .material-symbols-outlined {
  font-size: 1.8rem;
  color: var(--gold);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ══════════════════════════════════════════════════
   UTILITÁRIOS
══════════════════════════════════════════════════ */

/* Contêiner com largura máxima centralizada */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Linha dourada decorativa */
.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}

.gold-line--left { margin-left: 0; }

/* Rótulo de seção em maiúsculas */
.section-label {
  font-family: var(--ff-title);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

/* Título de seção */
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* Subtexto de seção */
.section-sub {
  font-size: 1rem;
  color: #c8c0b4;
  max-width: 600px;
  line-height: 1.75;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--ff-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}

/* Botão primário: fundo dourado */
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

/* Botão secundário: contorno dourado */
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Animações de entrada */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════
   GOOGLE MATERIAL SYMBOLS — estilos globais
══════════════════════════════════════════════════ */

/* Classe base do Google */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  user-select: none;
}

/* Ícones nos cards de área */
.area-card__icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 40;
  transition: font-variation-settings var(--transition), transform var(--transition);
}
.area-card:hover .area-card__icon .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 40;
  transform: scale(1.15);
}

/* Ícones nos cards dos advogados */
.sobre__adv-icon .material-symbols-outlined {
  font-size: 1.3rem;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* Ícones nos diferenciais */
.diferencial-item__icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 40;
  transition: font-variation-settings var(--transition);
}
.diferencial-item:hover .diferencial-item__icon .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 40;
}

/* Ícones nas opções de contato */
.contato__option-icon .material-symbols-outlined {
  font-size: 1.8rem;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 40;
  transition: font-variation-settings var(--transition);
}
.contato__option:hover .contato__option-icon .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 40;
}

/* Ícones no footer */
.footer__col-links .material-symbols-outlined {
  font-size: 1rem;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}

/* ══════════════════════════════════════════════════
   CURSOR PERSONALIZADO (tema Themis)
══════════════════════════════════════════════════ */
body { cursor: none; }

#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s, opacity 0.3s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 16px; height: 16px; background: var(--gold-light); }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 50px; height: 50px; opacity: 0.6; }

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

/* Quando a página rola, a barra fica sólida */
#navbar.scrolled {
  background: rgba(11,22,40,0.97);
  padding: 0.9rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar__logo {
  display: flex;
  flex-direction: column;
}
.navbar__logo-main {
  font-family: var(--ff-title);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1.2;
}
.navbar__logo-sub {
  font-family: var(--ff-body);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Links do menu */
.navbar__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.navbar__links a {
  font-family: var(--ff-title);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.navbar__links a:hover { color: var(--cream); }
.navbar__links a:hover::after { width: 100%; }

/* CTA no nav */
.navbar__cta {
  font-family: var(--ff-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.navbar__cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Botão hambúrguer (mobile) */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  transition: background var(--transition), border-color var(--transition);
}
.navbar__hamburger:hover {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.5);
}
.navbar__hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}
/* Estado aberto — forma X */
.navbar__hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Backdrop escuro ao abrir o menu mobile */
.navbar__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}
.navbar__backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* Menu mobile */
.navbar__mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(11,22,40,0.99);
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 4.5rem 2rem 2rem;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  /* escondido fora da tela por padrão — sem display:none */
  visibility: hidden;
}
.navbar__mobile.open {
  transform: translateY(0);
  visibility: visible;
}

/* Botão X de fechar dentro do menu */
.navbar__mobile-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  color: var(--gold);
  cursor: pointer;
  transition: background var(--transition);
}
.navbar__mobile-close:hover { background: rgba(201,168,76,0.2); }
.navbar__mobile-close .material-symbols-outlined { font-size: 1.3rem; }
.navbar__mobile a {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  font-family: var(--ff-title);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
}
.navbar__mobile a:last-child { border-bottom: none; }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* Imagem real de fundo do hero */
.hero__bg-image {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.jpg') center center / cover no-repeat;
  transform: scale(1.04);
  animation: heroBgZoom 18s ease-in-out infinite alternate;
}
@keyframes heroBgZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}

/* Plano de fundo geométrico animado */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(80px,80px); }
}

/* Gradiente de sobreposição para legibilidade */
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,22,40,0.92) 0%, rgba(11,22,40,0.75) 55%, rgba(11,22,40,0.4) 100%),
    linear-gradient(to top, rgba(11,22,40,0.7) 0%, transparent 50%);
}

/* Circles decorativos */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--1 {
  width: 400px; height: 400px;
  background: rgba(201,168,76,0.06);
  top: -10%; right: 10%;
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 250px; height: 250px;
  background: rgba(201,168,76,0.04);
  bottom: 10%; left: 5%;
  animation-delay: 3s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* Themis SVG */
.hero__themis {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 85%;
  opacity: 0.07;
  pointer-events: none;
  animation: themisRise 1.5s ease forwards 0.5s;
  transform: translateY(20px);
}
@keyframes themisRise {
  to { transform: translateY(0); opacity: 0.12; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 4rem;
  max-width: 700px;
}

/* Linha de boas-vindas pequena */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}
.hero__eyebrow-line {
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero__eyebrow-text {
  font-family: var(--ff-title);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Título principal */
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.45s;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__title strong {
  font-weight: 600;
}

/* Subtítulo */
.hero__sub {
  font-size: 1.05rem;
  color: #c8c0b4;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.65s;
}

/* Botões do hero */
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.85s;
}

/* Números de destaque */
.hero__stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.1s;
}
.hero__stat-number {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: var(--cream-dim);
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.6s;
}
.hero__scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ══════════════════════════════════════════════════
   QUEM SOMOS
══════════════════════════════════════════════════ */
#sobre {
  padding: 7rem 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
#sobre::before {
  content: '"';
  position: absolute;
  top: -2rem; right: 3%;
  font-family: var(--ff-display);
  font-size: 25rem;
  line-height: 1;
  color: rgba(201,168,76,0.03);
  pointer-events: none;
  user-select: none;
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Lado esquerdo: texto */
.sobre__text {}

.sobre__text .section-label { text-align: left; }
.sobre__text .section-title { text-align: left; }

.sobre__body {
  color: #c8c0b4;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.sobre__body + .sobre__body { margin-top: 0; }

/* Advogados */
.sobre__advogados {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}
.sobre__adv-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
}
.sobre__adv-card:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.04);
}
.sobre__adv-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sobre__adv-name {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
}
.sobre__adv-oab {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Lado direito: imagem / visual */
.sobre__visual {
  position: relative;
}
.sobre__image-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
/* Foto real na seção Sobre */
.sobre__photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.5s ease, transform 0.6s ease;
}
.sobre__image-wrap:hover .sobre__photo {
  filter: grayscale(0%) contrast(1.08);
  transform: scale(1.02);
}
/* Overlay dourado sutil sobre a foto */
.sobre__image-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.sobre__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(11,22,40,0.6) 100%
  );
  pointer-events: none;
}
/* Canto dourado decorativo */
.sobre__deco-corner {
  position: absolute;
  width: 80px; height: 80px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  top: -12px; left: -12px;
}
.sobre__deco-corner--br {
  border-top: none; border-left: none;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  top: auto; left: auto;
  bottom: -12px; right: -12px;
}
/* Texto flutuante sobre a imagem */
.sobre__badge {
  position: absolute;
  bottom: 2rem; left: -2rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  min-width: 140px;
}
.sobre__badge-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.sobre__badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ══════════════════════════════════════════════════
   ÁREAS DE ATUAÇÃO
══════════════════════════════════════════════════ */
#areas {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
}

.areas__header {
  text-align: center;
  margin-bottom: 4rem;
}
.areas__header .section-sub { margin: 0 auto; }

/* Grid de cards */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1.5px solid rgba(201,168,76,0.1);
}

.area-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.1);
  cursor: pointer;
  overflow: hidden;
  transition: background var(--transition);
}
.area-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.45s ease;
}
.area-card:hover { background: var(--navy-mid); }
.area-card:hover::before { width: 100%; }

.area-card__icon {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.area-card__title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.area-card__desc {
  font-size: 0.92rem;
  color: #c8c0b4;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Lista expandida de serviços (colapsável) */
.area-card__list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.area-card__list.expanded { max-height: 600px; }
.area-card__list li {
  font-size: 0.9rem;
  color: #c8c0b4;
  padding: 0.4rem 0;
  padding-left: 1.1rem;
  position: relative;
  border-bottom: 1px solid rgba(201,168,76,0.06);
}
.area-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.area-card__list li:last-child { border-bottom: none; }

/* Botão "ver mais" */
.area-card__toggle {
  margin-top: 1rem;
  font-family: var(--ff-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  transition: gap var(--transition);
}
.area-card__toggle:hover { gap: 0.7rem; }
.area-card__toggle-arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.area-card__toggle.expanded .area-card__toggle-arrow {
  transform: rotate(180deg);
}

/* ══════════════════════════════════════════════════
   INVESTIGAÇÃO PATRIMONIAL — DESTAQUE FULL WIDTH
══════════════════════════════════════════════════ */
#investigacao {
  padding: 7rem 0;
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}

/* Linhas diagonais de fundo */
.investigacao__bg-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(201,168,76,0.02) 40px,
    rgba(201,168,76,0.02) 41px
  );
  pointer-events: none;
}

.investigacao__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.investigacao__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.investigacao__step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: var(--transition);
}
.investigacao__step:last-child { border-bottom: none; }
.investigacao__step:hover { padding-left: 0.5rem; }

.investigacao__step-num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  min-width: 2.5rem;
  transition: color var(--transition);
}
.investigacao__step:hover .investigacao__step-num {
  color: rgba(201,168,76,0.4);
}
.investigacao__step-title {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.investigacao__step-text {
  font-size: 0.88rem;
  color: var(--cream-dim);
}

/* ══════════════════════════════════════════════════
   MEIO AMBIENTE / CONSUMO / CONCORRÊNCIA
══════════════════════════════════════════════════ */
#meioambiente {
  padding: 6rem 0;
  background: var(--navy);
}

.meioambiente__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.mambiente-card {
  padding: 2rem 1.8rem;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  transition: var(--transition);
}
.mambiente-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.mambiente-card__icon {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.mambiente-card__icon .material-symbols-outlined {
  font-size: 2rem;
  color: var(--gold);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 40;
}
.mambiente-card__title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.mambiente-card__text {
  font-size: 0.85rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   DIFERENCIAIS
══════════════════════════════════════════════════ */
#diferenciais {
  padding: 7rem 0;
  background: var(--navy-mid);
  text-align: center;
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.diferencial-item {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.diferencial-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.diferencial-item:hover::after { opacity: 1; }
.diferencial-item:hover { border-color: rgba(201,168,76,0.35); }

.diferencial-item__icon {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.diferencial-item__title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.diferencial-item__text {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   CONTATO / CTA
══════════════════════════════════════════════════ */
#contato {
  padding: 8rem 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Grande Themis de fundo */
#contato::before {
  content: '⚖';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40rem;
  color: rgba(201,168,76,0.02);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.contato__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.contato__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.contato__title em { font-style: italic; color: var(--gold); }

.contato__sub {
  font-size: 0.9rem;
  color: var(--cream-dim);
  max-width: 500px;
  margin: 0 auto 3rem;
}

.contato__options {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Cards de contato */
.contato__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  transition: var(--transition);
  min-width: 160px;
}
.contato__option:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
  transform: translateY(-4px);
}
.contato__option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contato__option-label {
  font-family: var(--ff-title);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contato__option-value {
  font-size: 0.88rem;
  color: var(--cream-dim);
}

/* Separador */
.contato__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 3rem;
  max-width: 400px;
}
.contato__divider-line {
  flex: 1; height: 1px;
  background: rgba(201,168,76,0.15);
}
.contato__divider-text {
  font-family: var(--ff-title);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* Formulário de contato */
.contato__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.contato__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-family: var(--ff-title);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select option { background: var(--navy); color: var(--cream); }

/* Mensagem de sucesso após envio */
.form-sucesso {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.8rem;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: var(--radius);
  color: var(--cream);
  margin-top: 1rem;
}
.form-sucesso .material-symbols-outlined {
  font-size: 2rem;
  color: #25d366;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 40;
}
.form-sucesso strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #25d366;
}
.form-sucesso p {
  font-size: 0.88rem;
  color: var(--cream-dim);
  margin: 0;
}

/* Alerta de erro do PHP */
.form-alerta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  background: rgba(224,112,112,0.1);
  border: 1px solid rgba(224,112,112,0.35);
  border-radius: var(--radius);
  color: #e07070;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.form-alerta .material-symbols-outlined {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #e07070;
}
.field-error {
  display: none;
  font-size: 0.78rem;
  color: #e07070;
  margin-top: 0.3rem;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #e07070;
}
.form-field.has-error .field-error {
  display: block;
}
.form-field.is-valid input,
.form-field.is-valid select {
  border-color: rgba(201,168,76,0.6);
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
#footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__brand-name {
  font-family: var(--ff-title);
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.footer__brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__brand-desc {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--ff-title);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col-links a {
  font-size: 0.85rem;
  color: var(--cream-dim);
  transition: color var(--transition);
}
.footer__col-links a:hover { color: var(--cream); }

.footer__bottom {
  border-top: 1px solid rgba(201,168,76,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: var(--cream-dim);
}
.footer__bottom a { color: var(--gold); }

/* ══════════════════════════════════════════════════
   WHATSAPP FLUTUANTE — 2 NÚMEROS
══════════════════════════════════════════════════ */

.whatsapp-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

/* Menu com os dois advogados */
.whatsapp-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.whatsapp-wrap.open .whatsapp-menu {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Cada item do menu */
.whatsapp-menu__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50px;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  white-space: nowrap;
}
.whatsapp-menu__item:hover {
  border-color: #25d366;
  background: rgba(37,211,102,0.08);
  transform: translateX(-4px);
}

/* Avatar circular com inicial */
.whatsapp-menu__avatar {
  width: 36px; height: 36px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.whatsapp-menu__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.whatsapp-menu__name {
  font-family: var(--ff-title);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cream);
}
.whatsapp-menu__number {
  font-size: 0.72rem;
  color: #25d366;
}

/* Botão principal verde */
.whatsapp-float {
  width: 58px; height: 58px;
  background: #25d366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  flex-shrink: 0;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
.whatsapp-wrap.open .whatsapp-float {
  background: #128c5e;
}

/* Ícones dentro do botão — alterna entre WA e X */
.wa-icon {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-icon--open  { opacity: 1; transform: rotate(0deg) scale(1); }
.wa-icon--close { opacity: 0; transform: rotate(-90deg) scale(0.7); }

.whatsapp-wrap.open .wa-icon--open  { opacity: 0; transform: rotate(90deg) scale(0.7); }
.whatsapp-wrap.open .wa-icon--close { opacity: 1; transform: rotate(0deg) scale(1); }

/* Pulse ring (só quando fechado) */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.45);
  animation: waPulse 2.2s ease-out infinite;
}
.whatsapp-wrap.open .whatsapp-float::before { display: none; }

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ══════════════════════════════════════════════════
   BARRA DE PROGRESSO DE LEITURA
══════════════════════════════════════════════════ */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 2000;
  width: 0%;
  transition: width 0.1s linear;
}

/* ══════════════════════════════════════════════════
   RESPONSIVO — TABLET (≤ 1024px)
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Navbar: ocultar links, mostrar hamburger */
  .navbar__links, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  /* Sobre: empilhar */
  .sobre__grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre__visual { order: -1; max-width: 360px; }

  /* Áreas: 2 colunas */
  .areas__grid { grid-template-columns: repeat(2, 1fr); }

  /* Investigação: empilhar */
  .investigacao__inner { grid-template-columns: 1fr; gap: 3rem; }

  /* Meio Ambiente: 1 coluna */
  .meioambiente__grid { grid-template-columns: 1fr; }

  /* Diferenciais: 2 colunas */
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVO — MOBILE (≤ 640px)
══════════════════════════════════════════════════ */
@media (max-width: 640px) {

  /* Resetar cursor custom no mobile */
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }

  /* Hero */
  .hero__stats { flex-direction: column; gap: 1.5rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }

  /* Áreas: 1 coluna */
  .areas__grid { grid-template-columns: 1fr; }

  /* Diferenciais: 1 coluna */
  .diferenciais__grid { grid-template-columns: 1fr; }

  /* Formulário */
  .contato__form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Badge sobre/visual */
  .sobre__badge { left: 0; bottom: 1rem; }
}

/* ══════════════════════════════════════════════════
   ACESSIBILIDADE — preferência reduzida de movimento
══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
