/* ==========================================================================
   NAVBAR INTELIGENTE (Glassmorphism & Visibilidade Fluida)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color var(--transition-fast), padding var(--transition-fast), transform var(--transition-medium);
}

.site-header.scrolled, body.page-blog .site-header {
  background-color: rgba(13, 31, 56, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.logo-link img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--brand-gold);
  transition: width var(--transition-fast);
}

.nav-links a:not(.btn-primary):hover {
  color: var(--brand-gold);
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  margin: 5px auto;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

@media (max-width: 900px) {
  .nav-hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(13, 31, 56, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
  }
  
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   HERO SECTION (#inicio)
   ========================================================================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--brand-navy-dark);
  overflow: hidden;
  padding-top: 100px;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: url('../assets/img/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.section-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0D1F38 35%, rgba(13, 31, 56, 0.8) 60%, rgba(13, 31, 56, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  color: #FFFFFF;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title strong {
  font-weight: 600;
  color: var(--brand-gold);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-kpis {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-kpi-item {
  display: flex;
  flex-direction: column;
}

.hero-kpi-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-gold);
  line-height: 1;
}

.hero-kpi-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .section-hero::before {
    width: 100%;
    opacity: 0.2;
  }
  .section-hero::after {
    background: linear-gradient(180deg, #0D1F38 40%, rgba(13, 31, 56, 0.9) 100%);
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-kpis {
    justify-content: center;
  }
}

/* ==========================================================================
   SOBRE O ADVOGADO (#sobre)
   ========================================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.sobre-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.sobre-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.sobre-credentials {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.cred-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.cred-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   ÁREAS DE ATUAÇÃO (#atuacao)
   ========================================================================== */
.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(13, 31, 56, 0.1);
}

.atuacao-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-card);
  border: 1px solid rgba(13, 31, 56, 0.08);
  margin: -1px 0 0 -1px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity 3.5s cubic-bezier(0.16, 1, 0.3, 1), transform 3.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}

.atuacao-card-featured {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.atuacao-card:hover {
  z-index: 10;
  transform: scale(1.02);
  background-color: #ffffff;
  border-color: var(--brand-gold);
  box-shadow: 0 20px 45px -10px rgba(13, 31, 56, 0.28), 0 0 20px rgba(197, 160, 89, 0.2);
  border-radius: 8px;
}

.atuacao-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-navy);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15);
}

.atuacao-card:hover .atuacao-icon {
  transform: scale(1.08) rotate(4deg);
  background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 50%, var(--brand-gold-dark) 100%);
  color: var(--brand-navy-dark);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.35);
}

.atuacao-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.atuacao-list {
  list-style: none;
}

.atuacao-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
  line-height: 1.4;
}

.atuacao-list li::before {
  content: '•';
  color: var(--brand-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.btn-saiba-mais {
  background-color: var(--brand-navy);
  color: var(--brand-gold);
  border: 1px solid var(--brand-gold);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 20px;
  transition: all 0.3s var(--ease-premium);
  box-shadow: 0 4px 10px rgba(11, 25, 44, 0.15);
  align-self: flex-start;
}

.btn-saiba-mais span {
  transition: transform 0.3s ease;
  color: var(--brand-gold);
}

.btn-saiba-mais:hover, .btn-saiba-mais:focus, .btn-saiba-mais:focus-visible {
  background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 50%, var(--brand-gold-dark) 100%);
  color: var(--brand-navy-dark);
  border-color: var(--brand-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
  outline: none;
}

.btn-saiba-mais:hover span, .btn-saiba-mais:focus span, .btn-saiba-mais:focus-visible span {
  transform: translateX(4px);
  color: var(--brand-navy-dark);
}

/* ==========================================================================
   MODAL FULLSCREEN DOM - DETALHES DE NICHOS (#nicho-modal-overlay)
   ========================================================================== */
.nicho-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-main);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nicho-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nicho-modal-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nicho-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--brand-navy);
  color: var(--brand-gold);
  border: 1px solid var(--brand-gold);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nicho-modal-close:hover {
  transform: rotate(90deg) scale(1.05);
  background-color: var(--brand-gold-dark);
  color: #ffffff;
}

/* Hero Modal */
.nicho-hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: #ffffff;
  padding: 100px 0 60px;
  position: relative;
  border-bottom: 3px solid var(--brand-gold);
}

.nicho-hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
  background: rgba(197, 160, 89, 0.15);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.nicho-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.nicho-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 750px;
  line-height: 1.6;
}

/* Corpo Modal */
.nicho-body {
  padding: 60px 0;
  flex: 1;
  background-color: var(--bg-secondary);
}

.nicho-grid-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.nicho-content-main h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--brand-navy);
  margin: 28px 0 16px;
}

.nicho-content-main h2:first-child {
  margin-top: 0;
}

.nicho-content-main p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.nicho-feature-box {
  background-color: #ffffff;
  border-left: 4px solid var(--brand-gold);
  border-radius: 0 8px 8px 0;
  padding: 24px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.nicho-feature-box h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.nicho-feature-list {
  list-style: none;
  padding: 0;
}

.nicho-feature-list li {
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px border-subtle;
}

.nicho-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-gold-dark);
  font-weight: bold;
}

/* Sidebar Modal */
.nicho-cta-card {
  background-color: #ffffff;
  border: 1px solid rgba(13, 31, 56, 0.1);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 40px;
}

.nicho-cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.nicho-cta-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Footer Modal */
.nicho-footer {
  background-color: var(--brand-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nicho-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nicho-footer p {
  font-size: 0.88rem;
  margin: 0;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--brand-gold);
  border: 1px solid var(--brand-gold);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
  background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 50%, var(--brand-gold-dark) 100%);
  color: var(--brand-navy-dark);
  border-color: var(--brand-gold-light);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

@media (max-width: 992px) {
  .nicho-grid-layout {
    grid-template-columns: 1fr;
  }
  .nicho-cta-card {
    position: static;
  }
  .nicho-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .atuacao-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .atuacao-card-featured {
    grid-column: span 2;
    aspect-ratio: auto;
    min-height: 280px;
  }
  .atuacao-card {
    aspect-ratio: auto;
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .atuacao-grid {
    grid-template-columns: 1fr;
  }
  .atuacao-card-featured {
    grid-column: span 1;
    aspect-ratio: auto;
  }
  .atuacao-card {
    aspect-ratio: auto;
    padding: 28px 20px;
  }
}

/* ==========================================================================
   METODOLOGIA (#metodologia)
   ========================================================================== */
.bg-secondary {
  background-color: var(--bg-secondary);
}

.timeline-metodologia {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 32px;
}

/* Linha conectora horizontal */
.timeline-line {
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(197, 160, 89, 0.15) 0%, var(--brand-gold) 50%, rgba(197, 160, 89, 0.15) 100%);
  z-index: 1;
}

.metodologia-card {
  position: relative;
  z-index: 2;
  background-color: var(--bg-card);
  padding: 32px 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px -10px rgba(11, 25, 44, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.metodologia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(11, 25, 44, 0.1);
  border-color: var(--brand-gold);
}

.card-step-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1;
  opacity: 0.85;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-navy);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.15);
}

.metodologia-card:hover .step-icon {
  transform: scale(1.08) rotate(4deg);
  background: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 50%, var(--brand-gold-dark) 100%);
  color: var(--brand-navy-dark);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.35);
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-gold);
  background: rgba(197, 160, 89, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.metodologia-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.metodologia-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .timeline-metodologia {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-line {
    display: none;
  }
}

@media (max-width: 600px) {
  .timeline-metodologia {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   FAQ / DÚVIDAS FREQUENTES (#faq)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brand-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--brand-gold-dark);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

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

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-medium);
}

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

.faq-inner {
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-inner {
  padding-bottom: 24px;
}

/* ==========================================================================
   FOOTER MINIMALISTA & BOTTOM BAR
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  color: var(--text-footer);
  padding: 80px 0 40px 0;
}

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

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

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

.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;
}

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

.footer-links a, .footer-contact-info a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  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: 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.75;
}

.credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   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: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: var(--brand-navy);
  color: #FFFFFF;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  border: 1px solid var(--brand-gold);
}

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

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE (botaozap.md implementation)
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-widget.widget-visible {
  opacity: 1;
  pointer-events: none;
}

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  pointer-events: auto;
}

.whatsapp-svg-icon {
  fill: #FFFFFF;
  width: 28px;
  height: 28px;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-trigger-btn:hover {
    transform: scale(1.05);
    background-color: #128C7E;
  }
}

.whatsapp-tooltip {
  background-color: var(--brand-navy);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #FFFFFF;
  padding: 0 18px 0 14px;
  border-radius: 6px;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              margin-bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  will-change: opacity, transform, max-height;
}

.whatsapp-tooltip.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 80px;
  padding: 12px 18px 12px 14px;
  margin-bottom: 12px;
  transform: translateY(0) scale(1);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 25px;
  width: 10px;
  height: 10px;
  background-color: var(--brand-navy);
  border-right: 1px solid rgba(197, 160, 89, 0.3);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  transform: rotate(45deg);
}

.close-tooltip-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 12px;
  margin: -12px -12px -12px 0;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}
.close-tooltip-btn:hover {
  color: var(--brand-gold);
}

.whatsapp-chat-panel {
  width: 320px;
  background-color: #FFFFFF;
  border: 1px solid rgba(13, 31, 56, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              margin-bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  will-change: transform, opacity, max-height;
}

.whatsapp-chat-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 500px;
  margin-bottom: 16px;
  transform: translateY(0) scale(1);
}

.chat-header {
  background-color: var(--brand-navy);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.chat-header-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.chat-messages-container {
  padding: 16px;
  max-height: 340px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: #F4F6F9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 85%;
  word-wrap: break-word;
  flex-shrink: 0;
}

.chat-bubble.received {
  background-color: #FFFFFF;
  color: var(--text-primary);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid rgba(13, 31, 56, 0.05);
}

.chat-bubble.sent {
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--brand-navy);
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-faq-options {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
  margin-top: 8px;
  opacity: 1;
  max-height: 300px;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.chat-faq-options.hidden {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  pointer-events: none;
}

.chat-faq-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.6;
  margin-bottom: 2px;
}

.chat-faq-opt {
  background-color: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--brand-navy);
  transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  display: flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .chat-faq-opt:hover {
    background-color: rgba(197, 160, 89, 0.08);
    border-color: var(--brand-gold);
  }
}

.chat-footer {
  padding: 12px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(13, 31, 56, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-direct-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--brand-navy);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
  opacity: 0.4;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

@media (max-width: 767px) {
  .whatsapp-widget {
    bottom: 84px;
    right: 16px;
  }
}

/* ==========================================================================
   ESTILOS DO BLOG & ARTIGOS (ajusteparablog.md)
   ========================================================================== */
#blog-secao, #artigo-secao {
  padding: 120px 24px 80px 24px;
  font-family: inherit;
}

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

.blog-title-section {
  font-size: 2.5rem;
  margin-bottom: 48px;
  text-align: center;
  font-family: var(--font-serif);
  color: var(--brand-navy);
}

.blog-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 28px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  color: var(--brand-navy);
}

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
}

.artigo-single-container {
  max-width: 1100px;
  margin: 0 auto;
}

.artigo-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.artigo-main { min-width: 0; }

.artigo-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 28px 24px;
}

.autor-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.autor-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}

.autor-nome {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-navy);
  display: block;
  margin-bottom: 4px;
}

.autor-cargo {
  font-size: 0.85rem;
  color: var(--brand-gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

.autor-bio {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.sidebar-divider {
  border: 0;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.08);
  margin: 16px 0;
}

.sidebar-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 16px;
}

.sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-post-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sidebar-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-voltar {
  background: none;
  border: none;
  color: var(--brand-gold-dark);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 24px;
}

.artigo-main-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.artigo-divider {
  border: 0;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

.artigo-text-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .artigo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


