/**
 * =======================================================================
 * HERYKA RIBEIRO ADVOCACIA - DESIGN SYSTEM & ESTILOS PRINCIPAIS
 * Tipografia: Merriweather (Títulos) + Inter (Textos)
 * Paleta: Ouro Nobre (#C5A059), Cobre Sutil (#C48B71), Ônix (#0F1115), Perolado (#FAF9F6)
 * =======================================================================
 */

:root {
  /* Cores Primárias e Metais Nobres */
  --gold-300: #EAD098;
  --gold-400: #DFBA73;
  --gold-500: #C5A059;
  --gold-600: #A8833E;
  --gold-700: #886527;
  --copper-400: #D89F86;
  --copper-500: #C48B71;
  --copper-600: #A66F56;

  /* Escala de Cinzas & Ônix Sofisticado */
  --dark-950: #0A0C0E;
  --dark-900: #0F1115;
  --dark-850: #14171E;
  --dark-800: #1B1F2A;
  --dark-700: #262C3B;
  --dark-600: #384156;

  /* Escala de Claros (Off-White & Linho Perolado) */
  --bg-body: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3F1EB;
  --bg-card: #FFFFFF;
  --border-light: #E6E3DB;
  --border-subtle: #D8D4C8;

  /* Textos */
  --text-main: #1C2028;
  --text-muted: #565F70;
  --text-light: #8E98A8;
  --text-on-dark: #F7F7F7;
  --text-gold: #C5A059;

  /* Gradientes Nobres */
  --gradient-gold: linear-gradient(135deg, #EAD098 0%, #C5A059 50%, #9E7D3B 100%);
  --gradient-gold-hover: linear-gradient(135deg, #F3DCA7 0%, #D4B069 50%, #B08D45 100%);
  --gradient-dark: linear-gradient(180deg, #0F1115 0%, #161A22 100%);
  --gradient-hero: linear-gradient(rgba(15, 17, 21, 0.88), rgba(15, 17, 21, 0.94));

  /* Tipografia */
  --font-title: 'Merriweather', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Efeitos e Sombras */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 14px 35px rgba(0, 0, 0, 0.09);
  --shadow-gold: 0 8px 24px rgba(197, 160, 89, 0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Universal & Acessibilidade */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Marca d'água monumental da logo no fundo de toda a página (minimalista e ofuscada) */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 850px;
  height: 850px;
  max-width: 85vw;
  max-height: 85vh;
  background-image: url('../images/monogram-seal.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.036;
  filter: grayscale(12%) contrast(108%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  outline: none;
}

/* Tipografia Estrutural */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark-900);
  font-weight: 700;
  line-height: 1.28;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.15rem; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.text-gold { color: var(--gold-500); }
.text-copper { color: var(--copper-500); }
.text-center { text-align: center; }

/* Contêiner de Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Barra Superior de Credibilidade */
.topbar {
  background: var(--dark-950);
  color: var(--text-light);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info {
  display: flex;
  gap: 1.5rem;
}
.topbar-info a:hover {
  color: var(--gold-400);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo-official {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}
.brand-link:hover .brand-logo-official {
  transform: scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(197, 160, 89, 0.25));
}
.btn-whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.btn-header-cta:hover .btn-whatsapp-icon {
  transform: scale(1.15) rotate(-6deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--dark-800);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-600);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-500);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Botões Nobres e CTAs de Alto Luxo */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.85rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}
.btn:hover::after {
  left: 140%;
  transition: left 0.75s ease-in-out;
}
.btn-gold {
  background: var(--gradient-gold);
  color: #0F1218;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.25), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.btn-gold:hover {
  background: var(--gradient-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.45);
  color: #000000;
}
.btn-gold:active {
  transform: translateY(0);
}
.btn-dark {
  background: var(--dark-900);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-dark:hover {
  background: var(--dark-800);
  color: var(--gold-400);
  border-color: rgba(197, 160, 89, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.btn-outline-gold {
  border: 1.5px solid var(--gold-400);
  color: var(--gold-300);
  background: rgba(197, 160, 89, 0.08);
  backdrop-filter: blur(8px);
}
.btn-outline-gold:hover {
  background: var(--gradient-gold);
  color: #0F1218;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(197, 160, 89, 0.35);
}
.btn-header-cta {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}
.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* ================================================================
   SEÇÃO HERO DE AUTORIDADE COM CARROSSEL DINÂMICO DE FUNDO
   ================================================================ */
.hero-section {
  position: relative;
  background: #080a0f;
  color: #FFFFFF;
  min-height: 86vh;
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 2px solid var(--gold-500);
}

/* 1. Slideshow Dinâmico de Fundos Jurídicos */
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 9s cubic-bezier(0.2, 0, 0.1, 1);
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* 2. Overlay Tonalizado Jurídico (Ônix Profundo, Azul-Noite e Dourado Nobre) */
.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(135deg, rgba(8, 10, 15, 0.94) 0%, rgba(14, 18, 26, 0.82) 48%, rgba(8, 10, 15, 0.95) 100%),
    radial-gradient(circle at 75% 35%, rgba(197, 160, 89, 0.18) 0%, transparent 62%);
}

/* 3. Marca D'água Monumental da Logo no Fundo */
.hero-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 2;
  filter: grayscale(1) drop-shadow(0 0 35px #C5A059);
}
.hero-watermark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 4. Grid de Conteúdo do Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 4.5rem;
  position: relative;
  z-index: 3;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 999px;
  font-size: 0.785rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
  animation: pulseDotAnim 2s infinite;
}
@keyframes pulseDotAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(197, 160, 89, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

.hero-title {
  color: #FFFFFF;
  font-size: 3.15rem;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}
.hero-subtitle {
  color: #CBD5E1;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.btn-hero-cta {
  padding: 1.05rem 2.2rem;
  font-size: 0.95rem;
}
.btn-hero-secondary {
  padding: 1.05rem 2rem;
  font-size: 0.95rem;
}

/* Indicadores de Confiança */
.hero-trust-row {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}
.trust-icon {
  font-size: 1.1rem;
}

/* 5. Card Presidencial do Hero */
.hero-card {
  background: linear-gradient(150deg, rgba(20, 24, 34, 0.96) 0%, rgba(11, 14, 20, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem 2.5rem;
  backdrop-filter: blur(16px);
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(197, 160, 89, 0.12);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(197, 160, 89, 0.2);
}
.hero-seal-wrap {
  width: 175px;
  height: 175px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.25) 0%, rgba(197, 160, 89, 0.05) 58%, transparent 74%);
  border-radius: 50%;
  position: relative;
}
.hero-logo-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(197, 160, 89, 0.35));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.hero-card:hover .hero-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 28px rgba(197, 160, 89, 0.5));
}

.hero-card-brand {
  margin-bottom: 1.25rem;
}
.hero-card-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-card-role {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--gold-400);
  margin-top: 0.25rem;
  font-weight: 600;
}
.hero-card-quote {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.025rem;
  color: #E2E8F0;
  line-height: 1.65;
  margin-bottom: 0;
}
.hero-card-author {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-card-oab {
  color: var(--gold-400);
  font-size: 0.825rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  font-weight: 600;
}
.hero-card-action {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}
.btn-card-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-sm);
  color: var(--gold-300);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-card-direct:hover {
  background: var(--gradient-gold);
  color: #0F1218;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(197, 160, 89, 0.35);
}
.btn-card-direct .arrow {
  transition: transform 0.3s ease;
}
.btn-card-direct:hover .arrow {
  transform: translateX(4px);
}

/* 6. Controles Discretos de Navegação dos Slides */
.hero-slider-nav {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: rgba(11, 14, 20, 0.75);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  backdrop-filter: blur(10px);
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.hero-dot:hover {
  background: var(--gold-400);
}
.hero-dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--gradient-gold);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.7);
}

/* Seções Gerais */
.section {
  padding: 6rem 0;
}
.section-subtle {
  background-color: var(--bg-subtle);
}
.section-dark {
  background-color: var(--dark-900);
  color: var(--text-on-dark);
}
.section-dark h2, .section-dark h3 {
  color: #FFFFFF;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.1rem;
}

/* Grid de Áreas de Atuação */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}
.area-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.area-card:hover::before {
  opacity: 1;
}
.area-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
}
.area-title {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.area-intro {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.area-link {
  font-weight: 600;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.925rem;
}
.area-link:hover {
  color: var(--dark-900);
  gap: 0.8rem;
}

/* Diferenciais Institucionais */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.feature-box:hover {
  border-color: var(--gold-500);
  transform: translateY(-4px);
}
.feature-num {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}
.feature-box p {
  color: #A3AEC2;
  font-size: 0.925rem;
  margin-bottom: 0;
}

/* Apresentação Profissional */
.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.profile-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.profile-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--dark-900);
  color: var(--gold-300);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--gold-600);
}
.profile-content h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}
.profile-position {
  font-size: 1.05rem;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Cidades e SEO Local */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.city-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.city-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.city-name {
  font-weight: 600;
  color: var(--dark-900);
  font-size: 1rem;
}
.city-uf {
  font-size: 0.8rem;
  background: var(--bg-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

/* Artigos do Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.post-thumb {
  height: 200px;
  background: var(--dark-850);
  overflow: hidden;
  position: relative;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-thumb img {
  transform: scale(1.05);
}
.post-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.post-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}
.post-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}
.post-title a:hover {
  color: var(--gold-600);
}
.post-summary {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Formulário de Contato */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact-info-card {
  background: var(--dark-900);
  color: #FFFFFF;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 160, 89, 0.2);
}
.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-item-icon {
  color: var(--gold-400);
  font-size: 1.4rem;
  margin-top: 3px;
}
.contact-item-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}
.contact-item-val {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-900);
}
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Breadcrumbs de Navegação SEO */
.breadcrumb-nav {
  padding: 1.25rem 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}
.breadcrumb-list {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb-item a {
  color: var(--text-muted);
}
.breadcrumb-item a:hover {
  color: var(--gold-600);
}
.breadcrumb-separator {
  color: var(--text-light);
}
.breadcrumb-current {
  color: var(--dark-900);
  font-weight: 600;
}

/* FAQ Accordion */
.faq-accordion {
  margin-top: 2rem;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--dark-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Rodapé Institucional */
.site-footer {
  background: var(--dark-950);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--gold-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold-500);
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Botão Flutuante de WhatsApp Oficial */
.floating-whatsapp {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 60%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: whatsappRadarPulse 2.6s infinite;
  text-decoration: none;
}
.floating-whatsapp-icon {
  width: 35px;
  height: 35px;
  fill: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.35s ease;
}
.floating-whatsapp:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.15);
  animation: none;
}
.floating-whatsapp:hover .floating-whatsapp-icon {
  transform: scale(1.08) rotate(6deg);
}

@keyframes whatsappRadarPulse {
  0% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsividade Completa (Mobile First & Breakpoints) */
@media (max-width: 1024px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  .hero-grid, .profile-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-wrapper { height: 74px; }
  .brand-logo-official { height: 42px; max-width: 210px; }
  .nav-menu { display: none; } /* Suporte mobile via menu hambúrguer */
  .hero-title { font-size: 2rem; }
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-whatsapp { bottom: 1.25rem; right: 1.25rem; width: 54px; height: 54px; }
  .floating-whatsapp-icon { width: 28px; height: 28px; }
}

/* =======================================================================
   FÓRUM DE DÚVIDAS JURÍDICAS & COMUNIDADE DE DIREITO
   ======================================================================= */
.forum-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.forum-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.forum-tab-btn:hover {
  border-color: var(--gold-500);
  color: var(--dark-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.forum-tab-btn.active {
  background: var(--gradient-gold);
  color: #0F1115;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.forum-banner-cta {
  background: linear-gradient(135deg, #0F1115 0%, #171B24 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.forum-banner-cta::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.forum-banner-content h2 {
  color: #FFFFFF;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.forum-banner-content p {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 620px;
  line-height: 1.6;
}

.forum-search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.forum-search-input {
  flex-grow: 1;
  max-width: 480px;
  position: relative;
}

.forum-search-input input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  font-size: 0.92rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.forum-search-input input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.18);
}

.forum-search-input span {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.forum-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.forum-pill-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.forum-pill-btn:hover, .forum-pill-btn.active {
  background: var(--dark-900);
  color: var(--gold-300);
  border-color: var(--gold-600);
}

.forum-cards-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.forum-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.forum-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.forum-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.forum-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.forum-card-title {
  font-size: 1.35rem;
  color: var(--dark-900);
  font-family: var(--font-title);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.forum-card-question-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 1.75rem;
  background: var(--bg-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-500);
}

.forum-answer-box {
  background: linear-gradient(145deg, #FAF8F5 0%, #F5F2EB 100%);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.forum-answer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.forum-avatar-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.forum-answer-author-name {
  font-weight: 700;
  color: var(--dark-900);
  font-size: 0.95rem;
}

.forum-answer-author-role {
  font-size: 0.78rem;
  color: var(--gold-600);
  font-weight: 600;
}

.forum-answer-body {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.75;
  white-space: pre-line;
}

.forum-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.btn-forum-useful {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.btn-forum-useful:hover, .btn-forum-useful.liked {
  border-color: var(--gold-500);
  background: rgba(197, 160, 89, 0.1);
  color: var(--gold-700);
}

.btn-forum-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #10B981;
  color: #FFFFFF;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.btn-forum-wa:hover {
  background: #059669;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Modal de Enviar Dúvida */
.forum-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.forum-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .forum-banner-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
  }
  .forum-card {
    padding: 1.5rem;
  }
  .forum-modal-card {
    padding: 1.75rem;
  }
}
