/* ==========================================================================
   NAVBAR INTELIGENTE (header.site-header)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  background: transparent;
  transition: transform 0.4s var(--ease-premium), background-color 0.4s var(--ease-premium), backdrop-filter 0.4s var(--ease-premium);
}

.site-header.site-header--scrolled {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.nav-open,
.site-header:has(.nav-menu.active) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

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

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-white);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-gold);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand-white);
  transition: color 0.25s var(--ease-premium);
  position: relative;
}

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

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

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

/* Dropdown Minimalista de Áreas de Atuação */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.3s var(--ease-premium);
}

.nav-dropdown-wrapper:hover .dropdown-chevron,
.nav-dropdown-wrapper.open .dropdown-chevron {
  transform: rotate(180deg);
  stroke: var(--brand-gold);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 270px;
  background: rgba(18, 18, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 1px rgba(197, 160, 89, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-premium), transform 0.2s var(--ease-premium), visibility 0s linear 0.25s;
  transition-delay: 0.2s;
  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(197, 160, 89, 0.08);
}

.dropdown-item-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-white);
  transition: color 0.2s ease;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--brand-gold);
}

.dropdown-item-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 0;
}

.dropdown-item--all {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-gold);
  border-radius: 6px;
}

.dropdown-item--all:hover {
  background: rgba(197, 160, 89, 0.1);
}

.nav-cta-btn {
  background: var(--gold-gradient);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: var(--border-radius-pill);
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.25);
}

/* Menu Sanduíche Mobile */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  align-items: center;
  justify-content: center;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--brand-white);
  position: relative;
  transition: background-color 0.3s var(--ease-premium);
}

.hamburger-line::before,
.hamburger-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--brand-white);
  transition: transform 0.3s var(--ease-premium), top 0.3s var(--ease-premium);
}

.hamburger-line::before { top: -7px; }
.hamburger-line::after { top: 7px; }

.hamburger-btn.active .hamburger-line {
  background-color: transparent !important;
}
.hamburger-btn.active .hamburger-line::before {
  top: 0;
  transform: rotate(45deg);
}
.hamburger-btn.active .hamburger-line::after {
  top: 0;
  transform: rotate(-45deg);
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 24px;
    overflow-y: auto;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-premium), visibility 0.4s;
    z-index: 995;
    text-align: center;
  }

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

  .nav-link,
  .nav-dropdown-trigger {
    font-size: clamp(1.4rem, 4.5vw, 1.75rem);
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .nav-cta-btn {
    font-size: 1rem;
    padding: 12px 30px;
    margin-top: 8px;
  }

  .nav-dropdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    width: 90%;
    max-width: 340px;
    margin-top: 12px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    padding: 10px;
  }

  .dropdown-item-title {
    font-size: 0.95rem;
  }

  .nav-dropdown-wrapper.mobile-open .nav-dropdown-menu {
    display: block;
  }
}

/* ==========================================================================
   SEÇÃO HERO (#inicio) - EDITORIAL & IMPACTANTE (hero-background.md)
   ========================================================================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 24px) 0 40px 0;
  background-color: var(--brand-dark);
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-base);
  background-color: var(--brand-dark);
  background-image: url('../assets/img/hero-bg.png');
  background-size: cover;
  background-position: center right;
  pointer-events: none;
}

.hero-bg-layer.reveal-zoom-out.active {
  opacity: 0.35;
}

.section-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-mask);
  background: linear-gradient(90deg, #121212 40%, rgba(18, 18, 18, 0.75) 70%, rgba(18, 18, 18, 0.3) 100%),
              radial-gradient(circle at 80% 50%, rgba(197, 160, 89, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: clamp(500px, 45vw, 1000px);
  height: clamp(500px, 45vw, 1000px);
  background: radial-gradient(circle, rgba(223, 186, 103, 0.12) 0%, transparent 70%);
  z-index: var(--z-hero-glow);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: var(--z-hero-content);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--site-max-width);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
  width: 100%;
}

.hero-kicker {
  font-size: clamp(0.75rem, 0.85vw + 0.3rem, 1rem);
  font-weight: 600;
  letter-spacing: clamp(2px, 0.2vw + 1.5px, 4px);
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: clamp(12px, 1.5vh, 20px);
  display: block;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw + 0.5rem, 4rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: clamp(16px, 2vh, 28px);
}

.hero-description {
  font-size: clamp(1rem, 1vw + 0.3rem, 1.25rem);
  color: var(--brand-text-light);
  line-height: 1.65;
  margin-bottom: clamp(24px, 3vh, 44px);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: clamp(0.95rem, 0.6vw + 0.75rem, 1.15rem);
  padding: clamp(14px, 1.2vh + 6px, 20px) clamp(28px, 1.5vw + 12px, 44px);
  border-radius: var(--border-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 14px);
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}

.btn-primary svg {
  width: clamp(18px, 1.2vw, 24px);
  height: clamp(18px, 1.2vw, 24px);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--brand-white);
  font-weight: 500;
  font-size: clamp(0.95rem, 0.6vw + 0.75rem, 1.15rem);
  padding: clamp(13px, 1.2vh + 5px, 19px) clamp(24px, 1.4vw + 10px, 40px);
  border-radius: var(--border-radius-pill);
  transition: border-color 0.25s var(--ease-premium), color 0.25s var(--ease-premium);
}

.btn-secondary:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

/* Minimalist Hero KPIs */
.hero-kpis {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2vw, 44px);
  margin-top: clamp(28px, 4vh, 56px);
  padding-top: clamp(20px, 2.5vh, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-number {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.8vw, 2.2rem);
  font-weight: 600;
  color: var(--brand-gold-light);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.kpi-label {
  font-size: clamp(0.8rem, 0.75vw + 0.4rem, 0.95rem);
  color: var(--brand-text-light);
  font-weight: 500;
  line-height: 1.3;
}

.kpi-label small {
  display: block;
  font-size: clamp(0.7rem, 0.6vw + 0.35rem, 0.82rem);
  color: var(--brand-text-muted);
  font-weight: 300;
  margin-top: 2px;
}

.kpi-divider {
  width: 1px;
  height: clamp(30px, 3vh, 48px);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Responsive HD (telas menores / laptops HD <= 1366px) */
@media (max-height: 750px) and (min-width: 901px) {
  .section-hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hero-kpis {
    margin-top: 28px;
    padding-top: 20px;
  }
}

/* Mobile & Tablet (<= 900px) */
@media (max-width: 900px) {
  .hero-container {
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }
  .hero-content {
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-description {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  .hero-kpis {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .kpi-item {
    align-items: center;
  }
  .kpi-divider {
    display: none;
  }
  .section-hero::after {
    background: linear-gradient(180deg, #121212 45%, rgba(18, 18, 18, 0.85) 100%);
  }
}

/* Telas Grandes 2K (>= 1600px / 2560px) */
@media (min-width: 1600px) {
  .hero-container {
    max-width: 1480px;
  }
  .hero-content {
    max-width: 880px;
  }
  .hero-kicker {
    font-size: 1.1rem;
    letter-spacing: 3.5px;
  }
  .hero-title {
    font-size: clamp(3.8rem, 3.5vw, 5rem);
    margin-bottom: 28px;
  }
  .hero-description {
    font-size: 1.35rem;
    max-width: 780px;
    margin-bottom: 44px;
  }
  .btn-primary, .btn-secondary {
    font-size: 1.2rem;
    padding: 18px 44px;
  }
  .hero-kpis {
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
  }
  .kpi-number {
    font-size: 2.4rem;
  }
  .kpi-label {
    font-size: 1.05rem;
  }
  .kpi-label small {
    font-size: 0.9rem;
  }
}

/* Telas Ultra Grandes 4K (>= 2500px / 3840px) */
@media (min-width: 2500px) {
  .hero-container {
    max-width: 2100px;
  }
  .hero-content {
    max-width: 1250px;
  }
  .hero-kicker {
    font-size: 1.45rem;
    letter-spacing: 4.5px;
    margin-bottom: 28px;
  }
  .hero-title {
    font-size: clamp(5.2rem, 4vw, 7.2rem);
    margin-bottom: 40px;
  }
  .hero-description {
    font-size: 1.85rem;
    max-width: 1100px;
    line-height: 1.7;
    margin-bottom: 60px;
  }
  .hero-actions {
    gap: 32px;
  }
  .btn-primary {
    font-size: 1.5rem;
    padding: 24px 58px;
    gap: 16px;
  }
  .btn-primary svg {
    width: 32px;
    height: 32px;
  }
  .btn-secondary {
    font-size: 1.5rem;
    padding: 24px 54px;
  }
  .hero-kpis {
    gap: 64px;
    margin-top: 64px;
    padding-top: 44px;
  }
  .kpi-number {
    font-size: 3.4rem;
  }
  .kpi-label {
    font-size: 1.35rem;
  }
  .kpi-label small {
    font-size: 1.1rem;
  }
  .kpi-divider {
    height: 52px;
  }
}

/* ==========================================================================
   SEÇÃO SOBRE (#sobre) - REVISTA / EDITORIAL
   ========================================================================== */
.section-sobre {
  background-color: var(--brand-section-alt);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.sobre-content-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 24px;
}

.sobre-text-lead {
  font-size: 1.15rem;
  color: var(--brand-white);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 400;
}

.sobre-text-body {
  font-size: 1.02rem;
  color: var(--brand-text-light);
  line-height: 1.75;
  margin-bottom: 24px;
}

.sobre-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.sobre-feature-item {
  border-left: 2px solid var(--brand-gold);
  padding-left: 16px;
}

.sobre-feature-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 4px;
}

.sobre-feature-desc {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
}

/* Moldura Elegante de Advocacia (#sobre) */
.sobre-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sobre-frame-wrapper {
  position: relative;
  width: 100%;
}

.sobre-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(145deg, #1E1E1E 0%, #121212 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--border-radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 89, 0.08);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.sobre-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(197, 160, 89, 0.15);
}

.sobre-frame-inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--border-radius-md) - 4px);
  aspect-ratio: 16 / 10;
  max-height: 280px;
}

.sobre-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) brightness(0.95);
  transition: transform 0.6s var(--ease-premium), filter 0.6s var(--ease-premium);
}

.sobre-frame:hover .sobre-frame-img {
  transform: scale(1.03);
  filter: contrast(1.05) brightness(1);
}

.sobre-frame-inset-border {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  pointer-events: none;
  z-index: 2;
  border-radius: calc(var(--border-radius-md) - 8px);
}

.sobre-frame-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   SEÇÃO ÁREAS DE ATUAÇÃO (#atuacao)
   ========================================================================== */
.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

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

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

.atuacao-card {
  background-color: var(--brand-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 28px 24px;
  transition: transform 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), opacity 0.35s var(--ease-premium), filter 0.35s var(--ease-premium);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.atuacao-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.35s var(--ease-premium);
}

.atuacao-card:hover {
  transform: translateY(-8px) scale(1.02);
  z-index: 10;
  border-color: var(--brand-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(197, 160, 89, 0.25);
  opacity: 1 !important;
  filter: none !important;
}

.atuacao-card:hover::before {
  opacity: 1;
}

/* Efeito de destaque do cartão em foco em relação aos demais */
.atuacao-grid:hover .atuacao-card:not(:hover) {
  opacity: 0.55;
  filter: grayscale(20%);
  transform: scale(0.985);
}

.atuacao-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: rgba(197, 160, 89, 0.1);
  border: var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-gold-light);
  flex-shrink: 0;
}

.atuacao-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--brand-white);
}

.atuacao-services-list {
  list-style: none;
  margin-top: 12px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.atuacao-services-list li {
  font-size: 0.9rem;
  color: var(--brand-text-light);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.atuacao-services-list li:last-child {
  border-bottom: none;
}

.atuacao-services-list li::before {
  content: '✦';
  color: var(--brand-gold);
  font-size: 0.7rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.atuacao-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-saiba-mais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: var(--brand-gold-light);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  width: 100%;
  justify-content: center;
}

.btn-saiba-mais:hover {
  background: var(--gold-gradient);
  color: var(--brand-dark, #121212);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn-saiba-mais svg {
  transition: transform 0.3s ease;
}

.btn-saiba-mais:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   DOM MODELO DE NICHO (FULL-SCREEN OVERLAY)
   ========================================================================== */
.nicho-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--brand-dark, #121212);
  color: var(--brand-white, #FFFFFF);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-premium), visibility 0.4s var(--ease-premium);
}

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

.nicho-modal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
  padding: 12px 20px;
}

.nicho-modal-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.nicho-modal-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--brand-white, #fff);
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.nicho-modal-back-btn svg {
  flex-shrink: 0;
}

.nicho-modal-back-btn:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--brand-gold);
  color: var(--brand-gold-light);
}

.nicho-modal-back-btn .back-btn-text-mobile {
  display: none;
}

.nicho-modal-brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--brand-gold-light);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.nicho-modal-brand-sub {
  font-weight: 300;
  font-size: 0.85em;
  opacity: 0.8;
}

#nicho-modal-header-cta {
  padding: 8px 16px;
  font-size: clamp(0.78rem, 2vw, 0.85rem);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 680px) {
  .nicho-modal-brand-title {
    display: none;
  }
}

@media (max-width: 520px) {
  .nicho-modal-header {
    padding: 10px 14px;
  }

  .nicho-modal-back-btn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .nicho-modal-back-btn .back-btn-text-desktop {
    display: none;
  }

  .nicho-modal-back-btn .back-btn-text-mobile {
    display: inline;
  }

  #nicho-modal-header-cta {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

/* Flexibilidade e Redimensionamento de Botões no Nicho Modal */
.nicho-modal .btn,
.nicho-modal .btn-primary {
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}

.nicho-modal-hero {
  padding: 70px 24px 50px;
  background: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.15) 0%, transparent 70%), var(--brand-dark);
  border-bottom: var(--border-subtle);
  text-align: center;
}

.nicho-modal-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.nicho-modal-kicker {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-gold);
  margin-bottom: 16px;
  padding: 4px 14px;
  background: rgba(197, 160, 89, 0.1);
  border: var(--border-gold-subtle);
  border-radius: 20px;
}

.nicho-modal-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-family: var(--font-heading);
  color: var(--brand-white);
  margin-bottom: 18px;
  line-height: 1.2;
}

.nicho-modal-subtitle {
  font-size: 1.05rem;
  color: var(--brand-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.nicho-modal-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.nicho-modal-hero-actions .btn {
  max-width: 90%;
}

.nicho-modal-body {
  padding: 60px 24px;
}

.nicho-modal-body-container {
  max-width: 1100px;
  margin: 0 auto;
}

.nicho-section-title {
  font-size: 1.8rem;
  color: var(--brand-white);
  text-align: center;
  margin-bottom: 12px;
}

.nicho-section-subtitle {
  font-size: 1rem;
  color: var(--brand-text-light);
  text-align: center;
  margin-bottom: 40px;
}

.nicho-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.nicho-detail-card {
  background: var(--brand-card-bg);
  border: var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nicho-detail-card:hover {
  border-color: rgba(197, 160, 89, 0.3);
  transform: translateY(-4px);
}

.nicho-detail-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--border-radius-md);
  background: rgba(197, 160, 89, 0.1);
  color: var(--brand-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.nicho-detail-card-title {
  font-size: 1.25rem;
  color: var(--brand-white);
  margin-bottom: 10px;
}

.nicho-detail-card-desc {
  font-size: 0.92rem;
  color: var(--brand-text-light);
  line-height: 1.6;
}

.nicho-process-section {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
}

.nicho-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.nicho-process-step {
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--brand-gold);
}

.nicho-process-step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 6px;
}

.nicho-process-step-title {
  font-size: 1.05rem;
  color: var(--brand-white);
  margin-bottom: 6px;
}

.nicho-process-step-desc {
  font-size: 0.88rem;
  color: var(--brand-text-light);
  line-height: 1.5;
}

.nicho-cta-banner {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(18, 18, 18, 0.95) 100%);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-lg);
  padding: 48px 32px;
  text-align: center;
}

.nicho-cta-title {
  font-size: 1.8rem;
  color: var(--brand-white);
  margin-bottom: 12px;
}

.nicho-cta-subtitle {
  font-size: 1.05rem;
  color: var(--brand-text-light);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.nicho-modal-footer {
  border-top: var(--border-subtle);
  background: var(--brand-section-alt, #0D0D0D);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--brand-text-muted);
}

/* ==========================================================================
   SEÇÃO METODOLOGIA (#metodologia)
   ========================================================================== */
.section-metodologia {
  background-color: var(--brand-section-alt);
}

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

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

.metodologia-card {
  background-color: var(--brand-card-bg);
  border: var(--border-subtle);
  border-radius: var(--border-radius-md);
  padding: 32px 24px;
  position: relative;
}

.metodologia-step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-gold);
  opacity: 0.25;
  margin-bottom: 16px;
}

.metodologia-step-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--brand-white);
}

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

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

.faq-item {
  background-color: var(--brand-card-bg);
  border: var(--border-subtle);
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-premium);
}

.faq-item.faq-open {
  border-color: rgba(197, 160, 89, 0.4);
}

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

.faq-icon {
  font-size: 1.4rem;
  color: var(--brand-gold);
  transition: transform 0.3s var(--ease-premium);
}

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

/* Acordeão Ultra-Fluido via CSS Grid */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-premium);
}

.faq-item.faq-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-content {
  overflow: hidden;
}

.faq-inner-text {
  padding: 0 24px 24px 24px;
  color: var(--brand-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   SEÇÃO CTA FINAL (#contato)
   ========================================================================== */
.section-cta {
  background: linear-gradient(180deg, var(--brand-dark) 0%, #0A0A0A 100%);
  text-align: center;
  position: relative;
}

.cta-box {
  background: var(--brand-card-bg);
  border: var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 72px 40px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--brand-text-light);
  max-width: 640px;
  margin: 0 auto 40px auto;
}

.cta-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.cta-info-item h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-gold);
  margin-bottom: 8px;
}

.cta-info-item p {
  font-size: 0.95rem;
  color: var(--brand-white);
}

/* ==========================================================================
   FOOTER MINIMALISTA & PREMIUM (footer.md)
   ========================================================================== */
.site-footer {
  background-color: #080808;
  color: var(--brand-text-muted);
  padding: 80px 24px 40px 24px;
  font-family: var(--font-sans);
}

.footer-container {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.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-logo-block {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-gold);
}

.footer-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-text-muted);
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--brand-text-muted);
  max-width: 360px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
}

.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.95rem;
  transition: color 0.25s var(--ease-premium), transform 0.25s var(--ease-premium);
  display: inline-block;
}

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

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

.credit-link {
  color: var(--brand-text-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

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

/* ==========================================================================
   MOBILE STICKY BAR (mobile.md)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-mobile-sticky);
  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: var(--gold-gradient);
  color: var(--brand-dark);
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  transition: transform 0.25s var(--ease-premium);
}

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

/* ==========================================================================
   BANNER DE COOKIES LGPD (lgpd.js)
   ========================================================================== */
.lgpd-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 890;
  max-width: 400px;
  background: rgba(22, 22, 22, 0.95);
  border: var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 20px 24px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  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.85rem;
  color: var(--brand-text-light);
  line-height: 1.5;
}

.lgpd-btn {
  align-self: flex-end;
  background: var(--gold-gradient);
  color: var(--brand-dark);
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
}

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE (botaozap.md)
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-widget);
  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;
}

/* Botão Circular Principal - Verde Oficial */
.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.3);
  transition: transform 0.2s var(--ease-premium), background-color 0.2s var(--ease-premium);
  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;
  }
}

/* Tooltip de Inatividade */
.whatsapp-tooltip {
  background-color: var(--brand-dark);
  border: var(--border-gold-subtle);
  color: var(--brand-white);
  padding: 0 18px 0 14px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  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), 
              padding 0.3s var(--ease-premium), 
              margin-bottom 0.3s var(--ease-premium),
              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-dark);
  border-right: 1px solid rgba(197, 160, 89, 0.25);
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  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 var(--ease-premium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}
.close-tooltip-btn:hover {
  color: var(--brand-gold);
}

/* Painel de Chat Simulado */
.whatsapp-chat-panel {
  width: 320px;
  background-color: var(--brand-card-bg);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  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), 
              margin-bottom 0.3s var(--ease-premium),
              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-dark);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: var(--border-subtle);
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--brand-dark);
  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: var(--brand-white);
}

.chat-header-status {
  font-size: 0.75rem;
  color: var(--brand-gold);
}

.chat-messages-container {
  padding: 16px;
  max-height: 340px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--brand-section-alt);
  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.4;
  max-width: 85%;
  word-wrap: break-word;
  flex-shrink: 0;
}

.chat-bubble.received {
  background-color: var(--brand-light-gray);
  color: var(--brand-white);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: var(--border-subtle);
}

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

.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), margin-top 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-gold);
  opacity: 0.8;
  margin-bottom: 2px;
}

.chat-faq-opt {
  background-color: var(--brand-card-bg);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--brand-white);
  transition: background-color 0.2s var(--ease-premium), border-color 0.2s var(--ease-premium);
  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.1);
    border-color: var(--brand-gold);
  }
}

.chat-footer {
  padding: 12px;
  background-color: var(--brand-dark);
  border-top: var(--border-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

@media (hover: hover) and (pointer: fine) {
  .chat-direct-link:hover {
    color: var(--brand-gold-light);
  }
}

/* Efeito de Digitando (Loader) */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 0;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--brand-gold);
  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; }
}

/* Acessibilidade - Teclado */
.whatsapp-trigger-btn:focus-visible,
.close-tooltip-btn:focus-visible,
.chat-faq-opt:focus-visible {
  outline: 2px solid var(--brand-gold) !important;
  outline-offset: 2px;
}

/* Responsividade Mobile - Padrão Estrito de Botão WhatsApp e Sticky Bar Mobile (mobile.md) */
@media (max-width: 768px) {
  .whatsapp-widget {
    display: none !important;
  }
}

