/* ==========================================================================
   DESIGN TOKENS & RESET
   ========================================================================== */
@font-face {
  font-family: 'Cinzel';
  src: url('assets/fonts/Cinzel-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('assets/fonts/cinzel-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('assets/fonts/Cinzel-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'New June';
  src: url('assets/fonts/newjune-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'New June';
  src: url('assets/fonts/newjune-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'New June';
  src: url('assets/fonts/newjune-semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores Homologadas (Paleta Preto & Dourado Degradê) */
  --black-deep: #08080A;
  --black-main: #0E0E12;
  --black-surface: #14141A;
  --black-card: #1B1B24;
  --black-card-hover: #22222E;
  
  --navy: #0E0E12;
  --blue: #14141A;
  --gold: #D4AF37;
  --gold-light: #F7E5A9;
  --gold-dark: #A38128;
  --gold-gradient: linear-gradient(135deg, #F5D77F 0%, #C9A84C 50%, #9E7D2C 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFF0B3 0%, #DFBA67 50%, #B89235 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --cream: #F5EDD8;
  --nude: #EDE0C4;
  --text-dark: #0E0E12;
  --text-light: #F5EDD8;
  --text-muted: rgba(245, 237, 216, 0.7);
  --border-gold: rgba(201, 168, 76, 0.3);
  --border-gold-bright: rgba(245, 215, 127, 0.6);

  /* Animações e Fluidez */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --t-snappy: 0.25s var(--ease-premium);
  --t-smooth: 0.5s var(--ease-premium);
  --t-slow: 1.5s var(--ease-premium);

  /* Fontes */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'New June', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Variáveis Dinâmicas de Cursor (Hover Radial) */
  --pointer-x: 50%;
  --pointer-y: 50%;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Personalizado (Minimalista e Leve) */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ==========================================================================
   ANIMAÇÕES BI-DIRECIONAIS DE SCROLL (REVEAL)
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 1.2s var(--ease-premium), opacity 1.2s var(--ease-premium);
  will-change: transform, opacity;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: transform 1.2s var(--ease-premium), opacity 1.2s var(--ease-premium);
  will-change: transform, opacity;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: transform 1.2s var(--ease-premium), opacity 1.2s var(--ease-premium);
  will-change: transform, opacity;
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Staggering para Containers */
.stagger-container > *:nth-child(1) { transition-delay: 0s; }
.stagger-container > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-container > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-container > *:nth-child(4) { transition-delay: 0.45s; }
.stagger-container > *:nth-child(5) { transition-delay: 0.6s; }

/* ==========================================================================
   SEÇÃO 0: NAVBAR INTELIGENTE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 32px;
  background: transparent;
  transition: background-color 0.6s var(--ease-premium), 
              backdrop-filter 0.6s var(--ease-premium), 
              opacity 0.6s var(--ease-premium), 
              transform 0.6s var(--ease-premium);
  opacity: 1;
  transform: translateY(0);
}

/* Ocultação dinâmica via IntersectionObserver */
.site-header.header-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header.header-scrolled {
  background: rgba(14, 14, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px 32px;
}

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

.logo img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav-links a:not(.btn-cta-nav) {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a:not(.btn-cta-nav)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn-cta-nav):hover {
    color: var(--gold);
  }
  .nav-links a:not(.btn-cta-nav):hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.btn-cta-nav {
  background: var(--gold-gradient);
  color: #08080A !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-premium), background 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  border: none;
  outline: none;
}

.btn-cta-nav::after {
  display: none !important;
  content: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta-nav:hover {
    transform: translateY(-2px);
    background: var(--gold-gradient-hover);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #08080A !important;
  }
}

/* Hamburger Mobile */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  padding: 12px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--cream);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-premium), opacity 0.35s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/jaragua-do-sul.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

.section-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    var(--navy) 0%, 
    rgba(14, 14, 18, 0.95) 40%, 
    rgba(14, 14, 18, 0.70) 70%, 
    rgba(14, 14, 18, 0.30) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, rgba(14, 14, 18, 0.95) 70%),
              url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 4;
}

.hero-content {
  max-width: 760px;
  text-align: left; /* 100% Ancorado à esquerda */
}

.hero-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

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

.hero-title span {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(245, 237, 216, 0.85);
  margin-bottom: 40px;
  max-width: 680px;
}

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

.btn-hero-primary {
  background: var(--gold-gradient);
  color: #08080A;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
  transition: transform 0.25s var(--ease-premium), background 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .btn-hero-primary:hover {
    transform: translateY(-3px);
    background: var(--gold-gradient-hover);
    box-shadow: 0 14px 32px rgba(212, 175, 55, 0.4);
  }
}

.btn-hero-secondary {
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--cream);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.25s var(--ease-premium), border-color 0.25s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .btn-hero-secondary:hover {
    background-color: rgba(201, 168, 76, 0.1);
    border-color: var(--gold);
  }
}

/* ==========================================================================
   SEÇÃO 2: SOBRE / O ADVOGADO (#sobre)
   ========================================================================== */
.section-sobre {
  background-color: #FFFFFF;
  color: #111116;
  padding: 120px 24px;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-photo-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  padding: 10px;
  background: #F4F4F7;
  isolation: isolate;
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
}

.sobre-photo-inner {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.sobre-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1s var(--ease-premium);
}

/* Realce Radial Direcional no Hover */
.sobre-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--pointer-x) var(--pointer-y), rgba(212, 175, 55, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-premium);
  pointer-events: none;
  z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
  .sobre-photo-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 20px var(--gold-glow);
  }
  .sobre-photo-wrapper:hover .sobre-photo-inner img {
    transform: scale(1.04);
  }
  .sobre-photo-wrapper:hover::after {
    opacity: 1;
  }
}

.sobre-info {
  text-align: left;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
  display: block;
}

.sobre-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #111116;
  margin-bottom: 24px;
  line-height: 1.25;
}

.sobre-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #383842;
  margin-bottom: 20px;
  text-align: justify;
}

.sobre-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.badge-item {
  background: #F4F4F8;
  border: 1px solid var(--border-gold);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111116;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-premium), background 0.3s var(--ease-premium), color 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium);
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .badge-item:hover {
    transform: translateY(-3px);
    background: var(--gold-gradient);
    border-color: transparent;
    color: #08080A;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  }
}

/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (#atuacao) - STICKY PINNED SCROLL SHOWCASE
   ========================================================================== */
.section-atuacao-wrapper {
  background-color: var(--black-main);
  color: var(--cream);
  position: relative;
  min-height: auto;
  height: auto;
  padding: 100px 0;
  overflow: visible;
}

@media (max-width: 768px) {
  .section-atuacao-wrapper {
    height: auto;
    overflow: visible;
    padding: 60px 0;
  }
}

.atuacao-pinned-container {
  position: sticky;
  top: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  box-sizing: border-box;
  z-index: 10;
  width: 100%;
}

@media (max-width: 768px) {
  .atuacao-pinned-container {
    position: static;
    height: auto;
    padding: 0 16px;
  }
}

.atuacao-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.atuacao-header {
  text-align: left;
  margin-bottom: 20px;
}

.atuacao-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.atuacao-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 700px;
}

.atuacao-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.atuacao-row {
  background-color: var(--black-card);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium), background-color 0.5s var(--ease-premium);
}

.atuacao-row.item-featured {
  background: linear-gradient(145deg, #181822 0%, #101016 100%);
  border-color: var(--border-gold-bright);
}

.atuacao-row.active {
  border-color: var(--gold);
  background-color: var(--black-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.12);
}

.atuacao-row.active .row-body {
  grid-template-rows: 1fr;
}

.atuacao-row.active .row-body-content {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.atuacao-row.active .toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.atuacao-row.active .row-toggle {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

.atuacao-row.active .row-icon {
  background: var(--gold-gradient);
  border-color: transparent;
  transform: scale(1.05);
}

.atuacao-row.active .card-svg-icon {
  stroke: #08080A;
}

.atuacao-row.active .row-number {
  opacity: 1;
  transform: scale(1.05);
}

.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  user-select: none;
}

.row-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.row-number {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  min-width: 24px;
  flex-shrink: 0;
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.row-icon {
  width: 36px;
  height: 36px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-premium), background 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium);
}

.card-svg-icon {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  transition: stroke 0.3s var(--ease-premium);
}

.row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.card-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
}

.row-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
  margin: 0;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

.row-toggle {
  background: transparent;
  border: 1px solid var(--border-gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-content: center;
  cursor: pointer;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: background-color 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.toggle-icon {
  width: 12px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  background-color: var(--gold);
  transition: transform 0.35s var(--ease-premium), opacity 0.35s var(--ease-premium);
  border-radius: 1px;
}

.toggle-icon::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.toggle-icon::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.row-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.row-body-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 20px 16px 20px;
}

.row-body-content {
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  padding-top: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.card-list {
  list-style: none;
  margin-bottom: 20px;
  margin-top: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.card-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  padding-left: 0;
}

.card-list li::before {
  content: none;
}

.row-action {
  margin-top: 10px;
}

.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  position: relative;
  z-index: 2;
  transition: transform 0.25s var(--ease-premium), background 0.25s var(--ease-premium), border-color 0.25s var(--ease-premium), color 0.25s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .card-link:hover {
    transform: translateY(-2px);
    background: var(--gold-gradient);
    border-color: transparent;
    color: #08080A;
  }
}

/* ==========================================================================
   SEÇÃO 4: METODOLOGIA (#metodologia)
   ========================================================================== */
.section-metodologia {
  background-color: #F8F9FA;
  color: #111116;
  padding: 120px 24px;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.metodologia-header {
  text-align: center;
  margin-bottom: 64px;
}

.metodologia-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #111116;
  margin-bottom: 16px;
}

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

.metodologia-step {
  background-color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.45s var(--ease-premium), background-color 0.45s var(--ease-premium), box-shadow 0.45s var(--ease-premium), border-color 0.45s var(--ease-premium);
}

.step-img-wrapper {
  width: calc(100% + 48px);
  margin: -24px -24px 16px -24px;
  height: 180px;
  border-radius: 0;
  overflow: hidden;
  border: none;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0.6) 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, 0.6) 75%, transparent 100%);
}

.step-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(255, 255, 255, 0.6) 75%, #FFFFFF 100%);
  pointer-events: none;
}

.step-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-premium);
}

.metodologia-step:hover .step-img {
  transform: scale(1.06);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 16px;
  transition: opacity 0.45s var(--ease-premium);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #111116;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: #4A4A56;
  line-height: 1.6;
}

.step-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .metodologia-step:hover {
    transform: translateY(-6px);
    background-color: #FFFFFF;
    border-color: var(--gold);
    box-shadow: 0 16px 32px rgba(212, 175, 55, 0.25);
  }
  .metodologia-step:hover .step-number {
    opacity: 1;
  }
  .metodologia-step:hover .step-progress-line {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   SEÇÃO 5: FAQ / DÚVIDAS (#faq)
   ========================================================================== */
.section-faq {
  background-color: var(--black-main);
  color: var(--cream);
  padding: 120px 24px;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--black-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium), background-color 0.35s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    transform: translateX(6px);
    border-color: var(--gold);
    background-color: var(--black-card-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px var(--gold-glow);
  }
}

.faq-header-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  outline: none;
}

.faq-header-btn > span:first-child {
  min-width: 0;
  flex: 1;
  word-break: break-word;
  overflow-wrap: break-word;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.45s var(--ease-premium), background-color 0.45s var(--ease-premium), color 0.45s var(--ease-premium), border-color 0.45s var(--ease-premium);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-gradient);
  color: #08080A;
  border-color: transparent;
}

/* Accordion Animação com CSS Grid */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-premium);
}

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

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

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

/* ==========================================================================
   SEÇÃO 6: CTA FINAL (#contato)
   ========================================================================== */
.section-cta-final {
  background-color: #FFFFFF;
  color: #111116;
  padding: 140px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.section-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/images/metodologia-3.png');
  background-size: cover;
  background-position: center;
  opacity: 0.20;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.section-cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.cta-final-container {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-final-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #111116;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cta-final-desc {
  font-size: 1.15rem;
  color: #383842;
  margin-bottom: 40px;
}

.btn-cta-final {
  background: var(--gold-gradient);
  color: #08080A;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 42px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  transition: transform 0.25s var(--ease-premium), background 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta-final:hover {
    transform: translateY(-3px);
    background: var(--gold-gradient-hover);
    box-shadow: 0 16px 36px rgba(212, 175, 55, 0.45);
  }
}

/* ==========================================================================
   SEÇÕES DINÂMICAS DO BLOG (#blog-secao e #artigo-secao)
   ========================================================================== */
#blog-secao, #artigo-secao {
  padding: 120px 24px 80px 24px;
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--cream);
  min-height: 80vh;
}

.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(--cream);
}

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

.blog-card {
  background-color: var(--blue);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 28px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

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

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

.blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 237, 216, 0.8);
  margin-bottom: 20px;
}

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

/* Post Único */
.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(--blue);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 28px 24px;
}

.autor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  margin-bottom: 16px;
  border: 2px solid var(--gold);
}

.autor-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
}

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

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

.autor-cargo {
  font-size: 0.85rem;
  color: rgba(245, 237, 216, 0.8);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
}

.autor-bio {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(245, 237, 216, 0.75);
  margin-bottom: 18px;
}

.sidebar-divider {
  border: 0;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  margin: 0 0 14px 0;
}

.sidebar-date {
  font-size: 0.85rem;
  color: rgba(245, 237, 216, 0.8);
}

.sidebar-date strong { color: var(--gold); }

.sidebar-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 16px;
}

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

.sidebar-post-item {
  display: block;
  text-decoration: none;
  cursor: pointer;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

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

.sidebar-post-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

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

.sidebar-post-date { font-size: 0.78rem; color: rgba(245, 237, 216, 0.6); }

.btn-voltar {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 0;
  transition: opacity 0.2s ease;
}

.btn-voltar:hover { opacity: 0.8; }

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

.artigo-divider {
  border: 0;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  margin: 24px 0 32px 0;
}

.artigo-text-body p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(245, 237, 216, 0.9);
  text-align: justify;
}

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

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

/* ==========================================================================
   SEÇÃO 7: FOOTER (#footer)
   ========================================================================== */
.site-footer {
  background-color: #060608;
  color: var(--cream);
  padding: 80px 24px 40px 24px;
  border-top: 1px solid var(--border-gold);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(245, 237, 216, 0.75);
  line-height: 1.6;
  max-width: 380px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(245, 237, 216, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--gold);
  }
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(245, 237, 216, 0.85);
}

.footer-contact-list a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-contact-list a:hover {
    color: var(--gold);
  }
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 237, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(245, 237, 216, 0.6);
}

.footer-credit-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
  pointer-events: auto !important;
}

@media (hover: hover) and (pointer: fine) {
  .footer-credit-link:hover {
    color: #FFFFFF;
  }
}

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE (DESKTOP)
   ========================================================================== */
.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 !important; /* CRÍTICO: Não bloqueia cliques */
  transition: opacity 0.5s var(--ease-premium);
}

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

.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 var(--ease-premium), background-color 0.2s var(--ease-premium);
  will-change: transform;
  pointer-events: auto !important;
}

.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(--navy);
  border: 1px solid rgba(201, 168, 76, 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 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;
  pointer-events: none;
}

.whatsapp-tooltip.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
  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(--navy);
  border-right: 1px solid rgba(201, 168, 76, 0.3);
  border-bottom: 1px solid rgba(201, 168, 76, 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 var(--ease-premium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  pointer-events: auto;
}

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

.whatsapp-chat-panel {
  width: 320px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  box-shadow: 0 12px 36px 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), 
              margin-bottom 0.3s var(--ease-premium),
              visibility 0.3s;
  pointer-events: none;
}

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

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

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

.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(--navy);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.chat-bubble.sent {
  background-color: rgba(201, 168, 76, 0.2);
  color: var(--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 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(--navy);
  opacity: 0.6;
  margin-bottom: 2px;
}

.chat-faq-opt {
  background-color: #FFFFFF;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--navy);
  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(201, 168, 76, 0.08);
    border-color: var(--gold);
  }
}

.chat-footer {
  padding: 12px;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-direct-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  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(--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; }
}

/* ==========================================================================
   MOBILE STICKY BAR & RESPONSIVIDADE (@media (max-width: 768px))
   ========================================================================== */
.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 !important; /* CRÍTICO: Container transparente */
  transition: opacity 0.3s var(--ease-premium), visibility 0.3s;
}

.mobile-sticky-bar.sticky-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: #25D366;
  color: #FFFFFF;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  pointer-events: auto !important;
  transition: transform 0.25s var(--ease-premium);
}

@media (max-width: 900px) {
  .metodologia-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 36px; }
  .sobre-container { grid-template-columns: 1fr; gap: 40px; }
  .sobre-photo-wrapper { max-width: 360px; margin: 0 auto; }
  .artigo-layout { grid-template-columns: 1fr; }
  .artigo-sidebar { position: static; }
}

@media (max-width: 768px) {
  /* Prevenção rigorosa de scroll horizontal */
  *, *::before, *::after {
    max-width: 100%;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(30px);
  }

  .reveal-left.revealed,
  .reveal-right.revealed {
    transform: translateY(0);
  }

  .site-header {
    padding: 10px 16px;
  }

  .logo img {
    height: 44px;
  }

  .nav-hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    height: calc(100dvh - 64px);
    background: rgba(26, 27, 27, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .section-hero::before {
    display: none !important;
  }

  .section-hero {
    min-height: 100dvh;
    max-height: 100dvh;
    height: 100dvh;
    padding-top: 68px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
  }

  .hero-kicker {
    font-size: clamp(0.65rem, 1.4vh, 0.75rem);
    margin-bottom: 0;
    border-left: none;
    padding-left: 0;
  }

  .hero-title {
    font-size: clamp(1.2rem, 3.1vh, 1.85rem);
    line-height: 1.15;
    margin-bottom: 0;
  }

  .hero-subtitle {
    font-size: clamp(0.78rem, 1.6vh, 0.88rem);
    line-height: 1.35;
    margin-bottom: 0;
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 6px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 270px;
    font-size: clamp(0.78rem, 1.6vh, 0.88rem);
    padding: 8px 14px;
    min-height: 40px;
    text-align: center;
    justify-content: center;
  }

  /* Centralização das Seções no Mobile */
  .sobre-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sobre-badges {
    justify-content: center;
  }

  .atuacao-header,
  .metodologia-header,
  .faq-header,
  .cta-final-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Ocultar Widget de WhatsApp no Mobile */
  .whatsapp-widget {
    display: none !important;
  }

  /* Exibir Sticky Bar no Mobile */
  .mobile-sticky-bar {
    display: block;
  }

  .btn-cta-final {
    width: 100%;
    max-width: 320px;
    font-size: 0.95rem;
    padding: 14px 16px;
    min-height: 48px;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
  }

  .blog-grid-layout {
    grid-template-columns: 1fr;
  }

  .cta-final-container, .site-footer {
    padding-bottom: 96px;
  }

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

  .card-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .row-body-inner {
    padding: 0 16px 20px 16px;
  }
  .row-header {
    padding: 18px 16px;
  }
  .row-left {
    gap: 12px;
  }
  .row-number {
    font-size: 1.2rem;
    min-width: 24px;
  }
  .row-icon {
    width: 36px;
    height: 36px;
  }
  .card-svg-icon {
    width: 18px;
    height: 18px;
  }
  .row-title {
    font-size: 1.05rem;
  }
  .row-toggle {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 600px) {
  .metodologia-grid {
    grid-template-columns: 1fr;
  }
  .sobre-badges {
    grid-template-columns: 1fr;
  }
  .badge-item {
    white-space: normal;
    max-width: 100%;
    justify-content: center;
  }
  .mobile-sticky-btn {
    max-width: 320px;
  }
}

/* ==========================================================================
   ELEMENTOS DE BACKGROUND DINÂMICOS & SHAPES
   ========================================================================== */
.bg-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.bg-shape-orb {
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -35px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

.bg-shape-hero-1 {
  width: 450px;
  height: 450px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, var(--gold) 0%, rgba(212, 175, 55, 0) 70%);
}

.bg-shape-hero-2 {
  width: 550px;
  height: 550px;
  bottom: -150px;
  right: -120px;
  background: radial-gradient(circle, #1E3A8A 0%, rgba(30, 58, 138, 0) 75%);
  animation-delay: -5s;
}

.bg-shape-grid {
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.bg-shape-sobre {
  width: 400px;
  height: 400px;
  top: 15%;
  right: -100px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

.bg-shape-watermark {
  width: 320px;
  height: 320px;
  bottom: 40px;
  left: 30px;
  background: url('assets/images/simbolo.webp') no-repeat center center / contain;
  opacity: 0.03;
}

.sobre-photo-frame-accent {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.bg-shape-atuacao {
  width: 500px;
  height: 500px;
  top: 20%;
  left: -150px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation-delay: -3s;
}

.bg-shape-lines {
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.02), rgba(212, 175, 55, 0.02) 1px, transparent 1px, transparent 20px);
}

/* ==========================================================================
   SEÇÃO ÁREAS DE ATUAÇÃO (#atuacao - SHOWCASE COM MENU LATERAL & PAINEL)
   ========================================================================== */
.atuacao-showcase-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: stretch;
}

/* MENU LATERAL (ESQUERDA) */
.atuacao-side-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.atuacao-tab-btn {
  background: rgba(17, 17, 22, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  color: var(--cream);
  transition: background 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
  outline: none;
  width: 100%;
}

.atuacao-tab-btn:hover {
  background: rgba(17, 17, 22, 0.95);
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateX(4px);
}

.atuacao-tab-btn.active {
  background: rgba(17, 17, 22, 0.98);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 16px rgba(212, 175, 55, 0.15);
}

.tab-number {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.6);
  min-width: 28px;
  transition: color 0.3s ease;
}

.atuacao-tab-btn.active .tab-number,
.atuacao-tab-btn:hover .tab-number {
  color: var(--gold);
}

.tab-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.tab-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.tab-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--cream);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-arrow {
  color: rgba(212, 175, 55, 0.4);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.atuacao-tab-btn.active .tab-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* PAINEL DE DISPLAY (DIREITA) */
.atuacao-display-panel {
  position: relative;
  height: 540px;
  min-height: 540px;
}

.atuacao-panel-content {
  display: none;
  height: 540px;
  min-height: 540px;
  box-sizing: border-box;
  background-color: rgba(17, 17, 22, 0.95);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 32px 38px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.atuacao-panel-content.active {
  display: block;
  animation: panelFadeIn 0.45s var(--ease-premium);
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-grid {
  display: flex;
  height: 100%;
  position: relative;
}

.panel-info {
  position: relative;
  z-index: 2;
  width: 54%;
  max-width: 540px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.panel-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
}

.panel-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.2;
}

.panel-desc {
  font-size: 0.9rem;
  color: rgba(245, 237, 216, 0.85);
  line-height: 1.45;
  margin-bottom: 12px;
}

.panel-info .card-list {
  gap: 6px;
  margin-bottom: 8px;
}

.panel-info .card-list li {
  font-size: 0.86rem;
  line-height: 1.35;
}

.panel-action {
  margin-top: 10px;
  position: relative;
  z-index: 5;
}

.btn-card-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #08080A;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
  transition: transform 0.25s var(--ease-premium), background 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
  width: fit-content;
  max-width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .btn-card-primary:hover {
    transform: translateY(-2px);
    background: var(--gold-gradient-hover);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    color: #000;
  }
}

.panel-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
}

.atuacao-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.8) 25%, #000 50%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.8) 25%, #000 50%);
}

.atuacao-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  transition: transform 0.6s var(--ease-premium);
}

.atuacao-panel-content:hover .atuacao-img {
  transform: scale(1.05);
}

.atuacao-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 17, 22, 0.98) 0%, rgba(17, 17, 22, 0.4) 25%, rgba(17, 17, 22, 0) 50%);
  pointer-events: none;
}

.bg-shape-metodologia {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: 5%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}

.bg-shape-faq {
  width: 450px;
  height: 450px;
  top: 10%;
  left: -120px;
  background: radial-gradient(circle, #1E3A8A 0%, transparent 70%);
}

/* ==========================================================================
   SEÇÃO LOCALIZAÇÃO & ATENDIMENTO REGIONAL (#localizacao)
   ========================================================================== */
.section-localizacao {
  padding: 120px 24px;
  background-color: var(--navy);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.bg-shape-local {
  width: 400px;
  height: 400px;
  top: -50px;
  right: -50px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

.localizacao-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.localizacao-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  background-color: rgba(17, 17, 22, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.localizacao-image-side {
  position: relative;
  min-height: 380px;
}

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

.localizacao-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--gold);
  border-radius: 30px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.localizacao-info-side {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.localizacao-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.25;
}

.localizacao-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(245, 237, 216, 0.8);
  margin-bottom: 28px;
}

.localizacao-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.loc-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.loc-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.loc-highlight-item strong {
  display: block;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.loc-highlight-item p {
  font-size: 0.88rem;
  color: rgba(245, 237, 216, 0.7);
  margin: 0;
}

.btn-localizacao {
  align-self: flex-start;
  background: var(--gold-gradient);
  color: #08080A;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium);
}

.btn-localizacao:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

.bg-shape-contato {
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

@media (max-width: 992px) {
  .atuacao-showcase-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .atuacao-side-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .atuacao-tab-btn {
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  
  .atuacao-display-panel {
    height: auto;
    min-height: 0;
  }
  
  .atuacao-panel-content {
    height: auto;
    min-height: 0;
    padding: 28px 22px;
  }

  .panel-grid {
    flex-direction: column;
  }

  .panel-info {
    width: 100%;
    max-width: 100%;
    gap: 20px;
  }

  .btn-card-primary {
    width: 100%;
    font-size: 0.85rem;
    padding: 12px 16px;
    box-sizing: border-box;
  }

  .panel-media {
    position: relative;
    width: 100%;
    height: 220px;
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
  }

  .atuacao-img-wrapper {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .atuacao-img-overlay {
    background: linear-gradient(to top, rgba(17, 17, 22, 0.8) 0%, transparent 60%);
  }
  
  .localizacao-card {
    grid-template-columns: 1fr;
  }
  .localizacao-info-side {
    padding: 36px 28px;
  }
  .localizacao-image-side {
    min-height: 260px;
  }
}

/* Redução de Movimento (Acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
