/* ==========================================================================
   COMPONENTES UI ULTRA-PREMIUM & REFINAMENTO EDITORIAL (GUIMALAW)
   ========================================================================== */

/* --- Botões de Alta Conversão & Linhas Finas --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
}

.btn-primary {
  background: #FFFFFF;
  color: #090C10;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: #E8ECF2;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

/* --- NAVBAR INTELIGENTE & LOGOTIPO EM DESTAQUE --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.5s var(--ease-premium);
  background: transparent;
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.navbar.navbar-scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-glass);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 58px;
  max-height: 58px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  transition: height 0.3s ease, max-height 0.3s ease;
}

.navbar.navbar-scrolled .brand-logo {
  height: 48px;
  max-height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s var(--ease-premium);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-nav {
  padding: 0.65rem 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-premium), opacity 0.35s var(--ease-premium);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   BLOCO UNIFICADO HERO + SOBRE (IMAGEM FIXA COMPARTILHADA)
   ========================================================================== */
.hero-sobre-wrapper {
  position: relative;
  background: transparent;
  z-index: 1;
}

/* Imagem Fixa que não se move com o scroll, visível na Hero E no Sobre */
.hero-bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-image: 
    linear-gradient(90deg, #090C10 0%, #090C10 35%, rgba(9, 12, 16, 0.98) 48%, rgba(9, 12, 16, 0.78) 58%, rgba(9, 12, 16, 0.25) 72%, rgba(9, 12, 16, 0.55) 100%),
    linear-gradient(180deg, rgba(9, 12, 16, 0.8) 0%, transparent 18%, transparent 82%, #090C10 100%),
    url('../assets/img/IMG-20260403-WA0017.jpg');
  background-position: center, center, right -8vw center;
  background-size: 100% 100%, 100% 100%, auto 100vh;
  background-repeat: no-repeat;
  filter: contrast(1.06) grayscale(20%);
  pointer-events: none;
  z-index: 1;
}

/* Seção 1: Hero (#inicio) */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(90px + 3rem);
  padding-bottom: 5rem;
  background: transparent;
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 720px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-kicker);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  padding: 0.35rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.hero-kicker::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-white);
}

.hero-title {
  font-size: var(--fs-hero-title);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-title span.italic-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-silver);
}

.hero-description {
  font-size: var(--fs-hero-sub);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   SEÇÃO 2: SOBRE O ADVOGADO (#sobre) COM FUNDO TRANSPARENTE
   ========================================================================== */
.sobre-section {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: clamp(5rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--border-subtle);
}

.sobre-content {
  display: flex;
  flex-direction: column;
  max-width: 780px;
}

.sobre-title {
  font-size: var(--fs-h2);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.sobre-highlight-box {
  background: rgba(18, 24, 34, 0.8);
  border-left: 2px solid var(--text-primary);
  padding: 1.35rem 1.6rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sobre-highlight-box p {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.6;
}

.sobre-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.credential-card {
  padding: 1.25rem 1.4rem;
  background: rgba(18, 24, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.credential-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.credential-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .hero-bg-fixed {
    background-image: 
      linear-gradient(180deg, rgba(9, 12, 16, 0.85) 0%, rgba(9, 12, 16, 0.96) 100%),
      url('../assets/img/IMG-20260403-WA0017.jpg');
    background-position: center top 20%;
    background-size: cover;
    opacity: 0.35;
  }
  
  .sobre-credentials {
    grid-template-columns: 1fr;
  }
}

/* --- SEÇÃO 3: ÁREAS DE ATUAÇÃO (#atuacao) — LIGHT PREMIUM EDITORIAL --- */
.atuacao {
  background-color: #F6F8FA;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.atuacao .section-kicker {
  color: #475569;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.atuacao .section-header h2 {
  color: #090C10;
  font-weight: 500;
}

.atuacao .section-subtitle {
  color: #4A5568;
}

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

.atuacao-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  min-height: 380px;
}

.atuacao-card.card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
}

.atuacao-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.09), 0 0 1px rgba(15, 23, 42, 0.15);
  border-color: rgba(9, 12, 16, 0.3);
}

.atuacao-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.atuacao-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  color: #090C10;
  transition: all var(--transition-fast);
}

.atuacao-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.atuacao-card:hover .atuacao-icon {
  background: #090C10;
  color: #FFFFFF;
  border-color: #090C10;
  transform: translateY(-2px);
}

.atuacao-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748B;
  font-weight: 600;
  background: #F8FAFC;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
}

.atuacao-tag.tag-featured {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.16);
  font-weight: 700;
}

.atuacao-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.atuacao-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: #090C10;
  line-height: 1.35;
}

.atuacao-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.atuacao-list {
  margin-top: auto;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.atuacao-list.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
}

.atuacao-list li {
  font-size: 0.86rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  line-height: 1.45;
}

.atuacao-list li::before {
  content: '—';
  color: #94A3B8;
  font-weight: 600;
  flex-shrink: 0;
}

.atuacao-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.atuacao-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #090C10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.atuacao-arrow {
  transition: transform var(--transition-fast);
  stroke: currentColor;
}

.atuacao-card:hover .atuacao-arrow {
  transform: translateX(4px);
}

.atuacao-link:hover {
  color: #1E293B;
}

/* --- SEÇÃO 4: METODOLOGIA (#metodologia) --- */
.metodologia {
  position: relative;
  z-index: 10;
  background-color: var(--bg-secondary);
}

.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metodologia-card {
  padding: 2.25rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.metodologia-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  margin-bottom: 1rem;
}

.metodologia-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.metodologia-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* --- SEÇÃO 5: FAQ ACORDEÃO (#faq) COM BACKGROUND PARALLAX FIXO --- */
.faq {
  position: relative;
  z-index: 10;
  background-color: #090C10;
  background-image: 
    linear-gradient(180deg, #090C10 0%, rgba(9, 12, 16, 0.50) 15%, rgba(9, 12, 16, 0.50) 85%, #090C10 100%),
    radial-gradient(circle at center, rgba(9, 12, 16, 0.25) 0%, rgba(9, 12, 16, 0.70) 100%),
    url('../assets/img/faq_bg.jpg');
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-container {
  position: relative;
  z-index: 2;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 24, 34, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(24, 32, 45, 0.82);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--border-active);
  background: rgba(24, 32, 45, 0.92);
  box-shadow: var(--shadow-card-hover);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.35s var(--ease-premium), color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--text-primary);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-premium);
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 1.75rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.75;
  font-weight: 300;
}

/* --- ANIMAÇÕES DE TRANSIÇÃO SPA SUAVE (VIEW TRANSITIONS & CROSS-FADE) --- */
::view-transition-old(root) {
  animation: 0.28s cubic-bezier(0.16, 1, 0.3, 1) both spaFadeOut;
}

::view-transition-new(root) {
  animation: 0.42s cubic-bezier(0.16, 1, 0.3, 1) both spaFadeIn;
}

@keyframes spaFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.99);
    filter: blur(4px);
  }
}

@keyframes spaFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

#blog-secao.spa-fade-out,
#artigo-secao.spa-fade-out {
  opacity: 0 !important;
  transform: translateY(-10px) scale(0.99) !important;
  filter: blur(4px) !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none;
}

#blog-secao.spa-fade-in,
#artigo-secao.spa-fade-in {
  animation: spaFadeIn 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* --- SEÇÕES DINÂMICAS: BLOG (#blog-secao & #artigo-secao) — LIGHT PREMIUM EDITORIAL --- */
.section-blog,
.section-artigo,
#blog-secao,
#artigo-secao {
  background-color: #F6F8FA !important;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 10;
  overflow: visible !important;
  color: #0F172A;
  min-height: 80vh;
}

.section-blog .section-kicker,
.section-artigo .section-kicker {
  color: #334155;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-weight: 700;
}

.section-blog .section-header h2 {
  color: #090C10;
  font-weight: 600;
}

.section-blog .section-subtitle {
  color: #334155;
  font-weight: 400;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.blog-card:hover {
  border-color: rgba(15, 23, 42, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.08);
}

.blog-card-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #090C10;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.blog-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #090C10;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.blog-card:hover .blog-card-cta {
  gap: 0.75rem;
  color: #000000;
}

/* Layout de Leitura de Artigo Único — Generoso e Imersivo */
.container-artigo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  width: 100%;
}

.artigo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.artigo-main {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(2.25rem, 4.5vw, 3.75rem);
  box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.04);
  color: #1E293B;
}

.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #334155;
  margin-bottom: 1.75rem;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.btn-voltar:hover {
  color: #000000;
  transform: translateX(-3px);
}

.artigo-meta-date {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
}

.artigo-main-title {
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 1.5rem;
  color: #090C10;
}

.artigo-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  margin: 1.75rem 0 2.25rem;
  border: none;
}

.artigo-text-body {
  color: #1E293B;
}

.artigo-text-body p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #1E293B;
  margin-bottom: 1.75rem;
  font-weight: 400;
  text-align: left;
}

.artigo-text-body h2,
.artigo-text-body h3 {
  font-family: var(--font-serif);
  color: #090C10;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
}

.artigo-text-body h2 {
  font-size: 1.6rem;
}

.artigo-text-body h3 {
  font-size: 1.35rem;
}

.artigo-text-body strong {
  color: #090C10;
  font-weight: 700;
}

.artigo-text-body em {
  color: #1E293B;
}

.artigo-text-body ul,
.artigo-text-body ol {
  color: #1E293B;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.artigo-text-body li {
  color: #1E293B;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.artigo-text-body li strong {
  color: #090C10;
  font-weight: 700;
}

.blog-blockquote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
  color: #090C10;
  border-left: 4px solid #0F172A;
  background: #EEF2F6;
  padding: 1.4rem 1.8rem;
  margin: 2.25rem 0;
  border-radius: 0 8px 8px 0;
}

.artigo-cta-box {
  background: linear-gradient(135deg, #090C10 0%, #151C26 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-top: 3.5rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.artigo-cta-box h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.artigo-cta-box p {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin-bottom: 1.75rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Sidebar Fixa e Flutuante (Sticky) */
.artigo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky !important;
  top: 110px !important;
  align-self: start !important;
  z-index: 10;
}

.sidebar-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
  color: #1E293B;
}

.sidebar-author-profile {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.author-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #CBD5E1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}

.sidebar-author-badge {
  display: flex;
  flex-direction: column;
}

.author-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #475569;
  font-weight: 700;
}

.author-name {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: #090C10;
  margin: 0.15rem 0;
  line-height: 1.3;
}

.author-oab {
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
}

.sidebar-bio {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.sidebar-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.12);
  margin: 1.25rem 0;
  border: none;
}

.sidebar-date {
  font-size: 0.84rem;
  color: #475569;
  font-weight: 500;
}

.sidebar-date strong {
  color: #090C10;
  font-weight: 700;
}

.sidebar-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #090C10;
  margin-bottom: 1.2rem;
}

.sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sidebar-post-item {
  display: block;
  text-decoration: none;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-fast);
}

.sidebar-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-post-item:hover {
  transform: translateX(4px);
}

.sidebar-post-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

.sidebar-post-item:hover .sidebar-post-title {
  color: #000000;
  text-decoration: underline;
}

.sidebar-post-date {
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 500;
}

/* --- SEÇÃO 6: ATENDIMENTO CONFIDENCIAL & FORMULÁRIO (#contato) — LIGHT PREMIUM --- */
.contato {
  background-color: #F6F8FA;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 10;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

/* Coluna da Esquerda: Textos & Autoridade */
.contato-info-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contato-info-col .section-kicker {
  align-self: flex-start;
  margin-bottom: 1.25rem;
  color: #475569;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.contato-info-col .contato-title {
  color: #090C10;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.contato-info-col .contato-desc {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

.contato-info-col .contato-desc strong {
  color: #090C10;
  font-weight: 600;
}

.contato-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.contato-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #090C10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlight-text strong {
  display: block;
  font-size: 0.95rem;
  color: #090C10;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.highlight-text span {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.5;
}

.contato-direct-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
  transition: all 0.3s var(--ease-premium);
  align-self: flex-start;
}

.btn-whatsapp-direct:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  color: #FFFFFF;
}

.contato-email-direct {
  font-size: 0.88rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contato-email-direct a {
  color: #090C10;
  font-weight: 600;
  text-decoration: none;
}

.contato-email-direct a:hover {
  text-decoration: underline;
}

/* Coluna da Direita: Card do Formulário */
.contato-form-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 3.5vw, 2.75rem);
  box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.07);
  text-align: left;
}

.form-header {
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 1.25rem;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #090C10;
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.86rem;
  color: #64748B;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #334155;
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  color: #090C10;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: #090C10;
  box-shadow: 0 0 0 3px rgba(9, 12, 16, 0.08);
}

.form-control::placeholder {
  color: #94A3B8;
  font-weight: 300;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 85px;
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background-color: #090C10;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
}

.btn-submit:hover {
  background-color: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  margin-top: 1.15rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-feedback.success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* --- SEÇÃO 7: FOOTER INSTITUCIONAL (PADRÃO MANUAL FOOTER.MD) --- */
.site-footer {
  position: relative;
  z-index: 10;
  background-color: var(--bg-footer, #05070A);
  color: var(--text-footer, var(--text-muted, #a0aec0));
  padding: 80px 24px 40px 24px;
  font-family: inherit;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  color: var(--text-muted);
  max-width: 440px;
  font-weight: 300;
}

.footer-cadastral {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-dim, #718096);
  letter-spacing: 0.04em;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links, .footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li, .footer-contact-info li {
  margin-bottom: 12px;
}

.footer-links a, .footer-contact-info a, .footer-contact-info span {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s var(--ease-premium, cubic-bezier(0.16, 1, 0.3, 1)), transform 0.25s var(--ease-premium, cubic-bezier(0.16, 1, 0.3, 1));
  display: inline-block;
}

.footer-links a:hover, .footer-contact-info a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-divider {
  border: 0;
  height: 1px;
  background-color: var(--border-subtle, rgba(255, 255, 255, 0.08));
  margin: 40px 0 28px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.85;
  color: var(--text-dim, #718096);
}

.credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

.credit-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   WIDGET DE WHATSAPP (MODELO FLAVIO RIGO: FAB, MODAL CHAT & TEASER)
   ========================================================================== */
:root {
  --wa-accent: #25D366;
  --wa-accent-hover: #20BA5A;
  --wa-ink: #111827;
  --wa-ink-2: #374151;
  --wa-ink-3: #6B7280;
  --wa-line: #D1D5DB;
  --wa-line-soft: #E5E7EB;
  --wa-chip-border: #D1D5DB;
  --wa-bubble-in: #F3F4F6;
  --wa-bubble-out: #111827;
  --wa-surface: #FFFFFF;
  --wa-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-float: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.wa-ico {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 0 0 1.51 5.26l-.999 3.648 3.748-.984zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01a1.1 1.1 0 0 0-.792.372c-.272.297-1.04 1.016-1.04 2.479s1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E");
}

.wa-ico--green {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2325D366' d='M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 0 0 1.51 5.26l-.999 3.648 3.748-.984zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01a1.1 1.1 0 0 0-.792.372c-.272.297-1.04 1.016-1.04 2.479s1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E");
}

.wa-ico--lg {
  width: 1.7rem;
  height: 1.7rem;
}

/* Floating Action Button (FAB) */
#whatsappFab {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 46;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  transform: translateY(120%) scale(0.6);
  opacity: 0;
  transition: transform 0.4s var(--wa-ease), opacity 0.4s ease, box-shadow 0.3s ease;
  text-decoration: none;
  pointer-events: auto;
}

#whatsappFab.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

body.menu-open #whatsappFab.is-visible {
  transform: translateY(120%) scale(0.6);
  opacity: 0;
}

@media (min-width: 768px) {
  #whatsappFab {
    right: 36px;
    bottom: 36px;
    width: 64px;
    height: 64px;
  }
  #whatsappFab .wa-ico {
    width: 2rem;
    height: 2rem;
  }
}

@media (min-width: 768px) and (hover: hover) {
  #whatsappFab.is-visible:hover {
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45);
    transform: scale(1.06);
    background: var(--wa-accent-hover);
  }
}

/* Chat Widget (Modal Desktop) */
.wa-widget {
  position: fixed;
  right: 36px;
  bottom: 116px;
  z-index: 59;
  width: 285px;
  transform-origin: bottom right;
  opacity: 0;
  transform: scale(0.9) translateY(4px);
  pointer-events: none;
  transition: opacity 0.35s var(--wa-ease), transform 0.4s var(--wa-ease);
  font-family: var(--font-sans);
}

.wa-widget.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.wa-panel {
  position: relative;
  background: var(--wa-surface);
  border: 1.5px solid var(--wa-line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.wa-panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--wa-surface);
  border-right: 1.5px solid var(--wa-line);
  border-bottom: 1.5px solid var(--wa-line);
  border-bottom-right-radius: 3px;
  bottom: -8px;
  right: 28px;
  transform: rotate(45deg);
}

.wa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--wa-line-soft);
}

.wa-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.wa-head b {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wa-ink);
  display: block;
  font-family: var(--font-sans);
}

.wa-head small {
  font-size: 0.68rem;
  color: var(--wa-ink-3);
  display: block;
}

.wa-scroll {
  max-height: min(58vh, 380px);
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #D1D5DB transparent;
}

.wa-scroll::-webkit-scrollbar {
  width: 5px;
}

.wa-scroll::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 5px;
}

.wa-thread {
  display: flex;
  flex-direction: column;
}

.wa-bubble {
  max-width: 88%;
  padding: 8px 11px;
  font-size: 0.82rem;
  line-height: 1.45;
  border-radius: 13px;
  margin-bottom: 12px;
  overflow-wrap: break-word;
  animation: waMsgIn 0.35s var(--wa-ease) both;
  flex-shrink: 0;
}

.wa-bubble--in {
  background: var(--wa-bubble-in);
  color: var(--wa-ink);
  border-top-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid var(--wa-line-soft);
}

.wa-bubble--out {
  background: var(--wa-bubble-out);
  color: #FFFFFF;
  border-top-right-radius: 4px;
  align-self: flex-end;
  border: 1px solid #1E293B;
}

.wa-bubble--typing {
  padding: 11px 13px;
}

.wa-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.wa-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa-ink-3);
  animation: waType 1.2s infinite ease-in-out;
}

.wa-dots span:nth-child(2) { animation-delay: 0.18s; }
.wa-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes waType {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes waMsgIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.wa-quick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 5px;
  flex-shrink: 0;
}

.wa-chip {
  width: 100%;
  text-align: left;
  background: #FFFFFF;
  border: 1.5px solid var(--wa-chip-border);
  border-radius: 10px;
  padding: 8px 11px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--wa-ink);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wa-chip:hover {
  border-color: var(--wa-accent);
  color: #111827;
  background: #F9FAFB;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.wa-quick-end {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--wa-ink-3);
  margin: 6px 2px 0;
}

.wa-cta {
  display: block;
  text-align: center;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--wa-line-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #16A34A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wa-cta:hover {
  color: #15803D;
  text-decoration: underline;
}

.wa-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--wa-line);
  background: #FFFFFF;
  color: #4B5563;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wa-close:hover {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #EF4444;
}

.wa-close::before, .wa-close::after,
.wa-teaser-x::before, .wa-teaser-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.wa-close::before, .wa-teaser-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.wa-close::after, .wa-teaser-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Teaser de Notificação (Desktop) */
.wa-teaser {
  position: fixed;
  right: 36px;
  bottom: 116px;
  z-index: 58;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.35s var(--wa-ease), transform 0.4s var(--wa-ease);
  font-family: var(--font-sans);
}

.wa-teaser.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wa-teaser-bubble {
  position: relative;
  display: block;
  max-width: 220px;
  background: #FFFFFF;
  border: 1.5px solid var(--wa-line);
  border-radius: 14px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--wa-ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wa-teaser-bubble:hover {
  background: #F9FAFB;
  border-color: var(--wa-accent);
  transform: translateY(-2px);
}

.wa-teaser-bubble::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-right: 1.5px solid var(--wa-line);
  border-bottom: 1.5px solid var(--wa-line);
  border-bottom-right-radius: 3px;
  bottom: -7px;
  right: 26px;
  transform: rotate(45deg);
}

.wa-teaser-x {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--wa-line);
  background: #FFFFFF;
  color: #4B5563;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wa-teaser-x:hover {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #EF4444;
}

.hidden { display: none; }
@media (min-width: 768px) {
  .md-block { display: block; }
}

/* --- BANNER LGPD --- */
.lgpd-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  z-index: 1000;
  box-shadow: var(--shadow-card-hover);
  display: none;
}

.lgpd-banner.active {
  display: block;
}

.lgpd-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 300;
}

.lgpd-actions {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   PADRÃO ESTRITO DE BOTÃO WHATSAPP E STICKY BAR MOBILE
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: transparent;
  padding: 12px 16px 20px 16px;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
}

.mobile-sticky-bar.sticky-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: #FFFFFF;
  color: #090C10;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(255, 255, 255, 0.15);
  pointer-events: auto;
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}

.mobile-sticky-btn:active {
  transform: scale(0.98);
}

/* --- RESPONSIVIDADE (TABLET & MOBILE) --- */
@media (max-width: 1024px) {
  .unified-showcase-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .sticky-media-column {
    position: static;
    top: auto;
    order: 2;
  }

  .scrollable-text-column {
    order: 1;
    gap: 4rem;
  }

  .hero-section-inline {
    min-height: auto;
    padding-top: 1rem;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .artigo-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .artigo-sidebar {
    position: static;
    top: auto;
  }
}

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

  .atuacao-card.card-featured {
    grid-column: span 2;
  }

  .metodologia-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }

  #whatsappFab {
    display: none !important;
  }

  .brand-logo {
    height: 44px;
    max-height: 44px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(9, 12, 16, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium), visibility 0.35s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu .nav-link {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  /* --- HERO MOBILE: ENCAIXE PERFEITO NA PRIMEIRA TELA (100dvh) --- */
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: clamp(4.2rem, 12vh, 5.5rem);
    padding-bottom: clamp(1rem, 3vh, 2rem);
    box-sizing: border-box;
  }

  .hero-container {
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-kicker {
    font-size: 0.65rem;
    margin-bottom: clamp(0.4rem, 1.2vh, 0.75rem);
    padding: 0.22rem 0.7rem;
    width: fit-content;
  }

  .hero-title {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem);
    line-height: 1.18;
    margin-bottom: clamp(0.45rem, 1.2vh, 0.75rem);
    letter-spacing: -0.01em;
  }

  .hero-description {
    font-size: clamp(0.82rem, 3.2vw, 0.92rem);
    line-height: 1.48;
    margin-bottom: clamp(0.75rem, 1.8vh, 1.15rem);
    max-width: 100%;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: clamp(0.75rem, 1.8vh, 1.15rem);
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.78rem;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding-top: clamp(0.6rem, 1.5vh, 0.9rem);
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    text-align: center;
  }

  .hero-stats .stat-item {
    align-items: center;
    text-align: center;
  }

  .hero-stats .stat-number {
    font-size: clamp(0.78rem, 2.7vw, 0.95rem);
    font-weight: 500;
    line-height: 1.15;
    white-space: normal;
    word-break: break-word;
  }

  .hero-stats .stat-label {
    font-size: clamp(0.55rem, 1.9vw, 0.62rem);
    margin-top: 0.15rem;
    line-height: 1.15;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .whatsapp-widget {
    bottom: 84px;
    right: 16px;
  }

  .lgpd-banner {
    left: 16px;
    right: 16px;
    max-width: none;
    bottom: 80px;
  }
}

@media (max-width: 600px) {
  .atuacao-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .atuacao-card,
  .atuacao-card.card-featured {
    grid-column: span 1;
    min-height: auto;
  }

  .atuacao-list.list-grid {
    grid-template-columns: 1fr;
  }

  .metodologia-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-whatsapp-direct {
    width: 100%;
  }
}
