/* ==========================================================================
   COMPONENTS.CSS - NAVBAR, HERO, SOBRE, ATUAÇÃO, FAQ, BLOG, WIDGET ZAP & FOOTER
   ========================================================================== */

/* --------------------------------------------------------------------------
   SEÇÃO 0: NAVBAR INTELIGENTE (#header)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding var(--transition-medium), background-color var(--transition-medium), backdrop-filter var(--transition-medium), border-color var(--transition-medium), transform var(--transition-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.header-scrolled {
  padding: 12px 0;
  background-color: rgba(15, 16, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 164, 103, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Ocultamento inteligente nas seções intermediárias */
.site-header.header-hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logotipo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 110px;
  width: auto;
  max-width: 480px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-text-light);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-gold);
  font-weight: 500;
}

/* Links de Navegação */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
}

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

.nav-link:hover {
  color: var(--brand-gold);
}

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

.nav-cta-btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Menu Sanduíche Mobile (Acessibilidade 48px) */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-hamburger span {
  width: 26px;
  height: 2px;
  background-color: var(--brand-gold);
  display: block;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

@media (max-width: 991px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100dvh;
    background-color: rgba(15, 16, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
    z-index: 1001;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.25rem;
  }
}


/* --------------------------------------------------------------------------
   SEÇÃO 1: HERO (#inicio)
   -------------------------------------------------------------------------- */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 24px 100px 24px;
  background-color: var(--brand-navy);
  color: var(--brand-text-light);
  overflow: hidden;
}

/* Camadas de empilhamento per hero-background.md */
.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/img/hero-bg.webp'), url('../assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.32;
  z-index: 1;
  pointer-events: none;
}

.section-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--brand-navy) 0%, rgba(15, 16, 18, 0.82) 45%, rgba(15, 16, 18, 0.25) 100%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .section-hero::after {
    background: linear-gradient(180deg, rgba(15, 16, 18, 0.95) 0%, rgba(15, 16, 18, 0.8) 100%);
  }
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: 3;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .hero-container {
    align-items: center;
    text-align: center;
  }

  .section-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--brand-gold-soft);
  border: 1px solid var(--brand-gold-border);
  border-radius: var(--border-radius-pill);
  font-size: 0.82rem;
  color: var(--brand-gold);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--brand-text-light);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 300;
}

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

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--brand-text-light-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .hero-actions {
    justify-content: center;
  }
}

/* Elemento gráfico imponente do Hero */
.hero-visual-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--brand-gold-border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.hero-visual-monogram {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-visual-oab {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-text-light-muted);
}


/* --------------------------------------------------------------------------
   SEÇÃO 2: SOBRE O ADVOGADO (#sobre)
   Em substituição à foto do advogado: Moldura estilizada "EM BREVE"
   -------------------------------------------------------------------------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

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

/* Moldura "Em Breve" estilizada de alto padrão */
.advogado-moldura {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--brand-gold-border);
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-dark-alt) 100%);
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  overflow: hidden;
}

.advogado-moldura::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(197, 164, 103, 0.2);
  border-radius: 6px;
  pointer-events: none;
}

.moldura-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--brand-gold-soft);
  border: 1px solid var(--brand-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-gold);
}

.moldura-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.moldura-tag {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brand-gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.moldura-text {
  font-size: 0.85rem;
  color: var(--brand-text-light-muted);
  max-width: 260px;
  line-height: 1.5;
}

.sobre-highlight {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  color: var(--brand-text-dark);
  border-left: 3px solid var(--brand-gold);
  padding-left: 20px;
  margin-bottom: 24px;
  line-height: 1.5;
  font-style: italic;
}


/* --------------------------------------------------------------------------
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (#atuacao)
   -------------------------------------------------------------------------- */
.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.card-atuacao {
  background-color: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 36px 30px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-atuacao:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--brand-gold-border);
}

.card-atuacao-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-atuacao-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background-color: var(--brand-gold-soft);
  color: var(--brand-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-atuacao-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.card-atuacao-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--brand-text-dark);
}

.card-atuacao-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-atuacao-list li {
  font-size: 0.92rem;
  color: var(--brand-text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-atuacao-list li::before {
  content: '•';
  color: var(--brand-gold);
  font-size: 1.2rem;
}


/* --------------------------------------------------------------------------
   SEÇÃO 4: METODOLOGIA DE TRABALHO (#metodologia)
   -------------------------------------------------------------------------- */
.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

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

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

.metodologia-card {
  position: relative;
  background-color: var(--brand-surface-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 36px 24px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

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

.metodologia-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--brand-gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.metodologia-title {
  font-size: 1.2rem;
  color: var(--brand-text-light);
  margin-bottom: 12px;
}

.metodologia-desc {
  font-size: 0.9rem;
  color: var(--brand-text-light-muted);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   SEÇÃO 5: FAQ - ACORDEÃO ANIMADO VIA CSS GRID (#faq)
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background-color: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--brand-gold-border);
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--brand-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--brand-gold-soft);
  color: var(--brand-gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--brand-gold);
  color: var(--brand-navy);
}

/* CSS Grid 0fr -> 1fr animation */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-premium);
}

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

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 28px 24px 28px;
  font-size: 0.95rem;
  color: var(--brand-text-body);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   SEÇÃO 6 e 7: BLOG (#blog-secao e #artigo-secao)
   -------------------------------------------------------------------------- */
#blog-secao, #artigo-secao {
  padding: 160px 24px 140px 24px;
}

.blog-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.blog-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
  justify-content: center;
  gap: 36px;
  margin-top: 56px;
  width: 100%;
}

@media (max-width: 480px) {
  .blog-grid-layout {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  box-sizing: border-box;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--brand-gold-border);
}

.blog-card-date {
  font-size: 0.82rem;
  color: var(--brand-text-muted);
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-title {
  font-size: 1.35rem;
  font-family: var(--font-serif);
  color: var(--brand-text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--brand-text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Post único e Sidebar Sticky */
.artigo-single-container {
  max-width: 1140px;
  margin: 0 auto;
}

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

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

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

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

@media (max-width: 900px) {
  .artigo-sidebar {
    position: static;
  }
}

.sidebar-card {
  background-color: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 28px 24px;
}

.autor-avatar--fallback {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-dark-alt));
  border: 1px solid var(--brand-gold-border);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

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

.autor-nome {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-text-dark);
  display: block;
  margin-bottom: 2px;
}

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

.autor-bio {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--brand-text-muted);
  margin-bottom: 16px;
}

.sidebar-divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 16px 0;
}

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

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

.sidebar-post-item {
  display: block;
  text-decoration: none;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

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

.sidebar-post-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-text-dark);
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
  transition: color var(--transition-fast);
}

.sidebar-post-item:hover .sidebar-post-title {
  color: var(--brand-gold-deep);
}

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

.btn-voltar {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-gold-deep);
  margin-bottom: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.artigo-main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--brand-text-dark);
}

.artigo-divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 24px 0 32px 0;
}

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

.artigo-text-body strong {
  font-weight: 700;
  color: var(--brand-navy);
}

.blog-blockquote {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--brand-navy);
  border-left: 3px solid var(--brand-gold);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
}


/* --------------------------------------------------------------------------
   SEÇÃO 8: WIDGET DE WHATSAPP INTELIGENTE (#whatsapp-widget)
   -------------------------------------------------------------------------- */
.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 var(--ease-premium);
}

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

.whatsapp-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease-premium), background-color 0.25s var(--ease-premium);
  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.06);
    background-color: var(--whatsapp-green-dark);
  }
}

.whatsapp-tooltip {
  background-color: var(--brand-navy);
  border: 1px solid var(--brand-gold-border);
  color: #FFFFFF;
  padding: 0 18px 0 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  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 var(--ease-premium), transform 0.3s var(--ease-premium), max-height 0.3s var(--ease-premium), visibility 0.3s;
}

.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 var(--brand-gold-border);
  border-bottom: 1px solid var(--brand-gold-border);
  transform: rotate(45deg);
}

.close-tooltip-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -12px -12px -12px 0;
}

.close-tooltip-btn:hover {
  color: var(--brand-gold);
}

.whatsapp-chat-panel {
  width: 330px;
  background-color: var(--brand-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  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 var(--ease-premium), transform 0.3s var(--ease-premium), max-height 0.3s var(--ease-premium), visibility 0.3s;
}

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

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

.chat-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.footer-logo-img {
  height: 130px;
  width: auto;
  max-width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.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: var(--brand-cream);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  line-height: 1.45;
  max-width: 86%;
  word-wrap: break-word;
  flex-shrink: 0;
}

.chat-bubble.received {
  background-color: var(--brand-white);
  color: var(--brand-text-dark);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-bubble.sent {
  background-color: var(--brand-gold-soft);
  color: var(--brand-navy);
  align-self: flex-end;
  border-top-right-radius: 2px;
  border: 1px solid var(--brand-gold-border);
}

.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 var(--ease-premium), max-height 0.3s var(--ease-premium);
  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(--brand-text-dark);
  opacity: 0.6;
  margin-bottom: 2px;
}

.chat-faq-opt {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-gold-border);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--brand-navy);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.chat-faq-opt:hover {
  background-color: var(--brand-gold-soft);
  border-color: var(--brand-gold);
}

.chat-footer {
  padding: 12px;
  background-color: var(--brand-white);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
}

.chat-direct-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-direct-link:hover {
  color: var(--brand-navy);
}

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


/* --------------------------------------------------------------------------
   SEÇÃO 9: MOBILE STICKY BAR (#mobile-sticky-bar)
   -------------------------------------------------------------------------- */
.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-gold);
  color: var(--brand-navy);
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  box-shadow: var(--shadow-deep);
  pointer-events: auto;
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}

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


/* --------------------------------------------------------------------------
   SEÇÃO 10: FOOTER MINIMALISTA (.site-footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-navy);
  color: var(--brand-text-light-muted);
  padding: 80px 24px 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-top: 12px;
  max-width: 360px;
}

.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;
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover, .footer-contact-info a:hover {
  color: var(--brand-gold);
  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.8;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

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

/* LGPD Banner */
.lgpd-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 995;
  background-color: var(--brand-navy);
  border: 1px solid var(--brand-gold-border);
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  max-width: 380px;
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
  pointer-events: none;
}

.lgpd-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lgpd-text {
  font-size: 0.82rem;
  color: var(--brand-text-light-muted);
  line-height: 1.5;
}

.lgpd-btn {
  align-self: flex-end;
  padding: 8px 18px;
  font-size: 0.8rem;
}
