/* ==========================================================================
   DESIGN TOKENS & RESET - DRA. THIAGA FOLMANN ADVOCACIA
   ========================================================================== */
:root {
  /* Paleta Homologada (Vinho & Ouro Luxo) */
  --navy: #220C12;          /* Vinho Escuro - Fundo Principal Escuro */
  --wine-dark: #220C12;
  --blue: #4F1C2A;          /* Vinho Secundário / Contraste Cards */
  --wine-medium: #4F1C2A;
  --gold: #C9A84C;          /* Dourado - Destaques & Botões */
  --gold-hover: #B8963B;
  --cream: #F5EDD8;         /* Creme - Textos/Fundos claros */
  --nude: #EDE0C4;          /* Nude - Seção Metodologia */
  --ink: #1B1B1B;           /* Texto Principal Escuro */
  --text-muted: rgba(27, 27, 27, 0.65);
  --cream-muted: rgba(245, 237, 216, 0.75);
  
  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Radii */
  --radius-btn: 6px;
  --radius-card: 8px;
  
  /* Animações e Fluidez Premium */
  --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);
  
  /* Sombras Difusas Ausretas */
  --shadow-subtle: 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 24px 48px rgba(0, 0, 0, 0.25);
  
  /* Cursor Position Tokens for Spotlight Hover */
  --pointer-x: 50%;
  --pointer-y: 50%;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section, .site-header, .site-footer {
  overflow-x: clip;
  max-width: 100%;
}

/* Scrollbar Personalizada Minimalista */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #14070A;
}
::-webkit-scrollbar-thumb {
  background: var(--wine-medium);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Base Typography & Helpers */
h1, h2, h3, h4, .serif-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-snappy);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

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

/* Botões de Ação CTA em Degradê Ouro Luxo com Hover Dinâmico */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #9E7B27 0%, #B8963B 45%, #C9A84C 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transition: transform var(--t-snappy), background-position 0.6s var(--ease-premium), box-shadow var(--t-snappy);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    background-position: 100% 50%;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(245, 237, 216, 0.3);
  transition: transform var(--t-snappy), border-color var(--t-snappy), background-color var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    color: var(--gold);
    background-color: rgba(201, 168, 76, 0.05);
  }
}

/* ==========================================================================
   ANIMAÇÃO DE SCROLL BI-DIRECIONAL (Regra 12 de criadordesite.md)
   ========================================================================== */
.reveal-element {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

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

/* Staggering para elementos dentro de containers */
[data-delay="1"] { transition-delay: 0.15s; }
[data-delay="2"] { transition-delay: 0.30s; }
[data-delay="3"] { transition-delay: 0.45s; }
[data-delay="4"] { transition-delay: 0.60s; }

/* Reset de delay em hover para evitar lag ao interagir */
@media (hover: hover) and (pointer: fine) {
  .reveal-element.revealed:hover {
    transition-delay: 0s !important;
  }
}

/* Renderização Preguiçosa para Performance (Regra 4 de criadordesite.md) */
#atuacao, #metodologia, #faq {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

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

/* Fundo com Blur no Scroll */
.site-header.header-scrolled {
  padding: 14px 0;
  background: rgba(34, 12, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Visibilidade Estrita: Oculta nas seções intermediárias */
.site-header.header-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}

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

/* Logo da Navbar */
.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 42px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
}

/* Menu de Nav Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  white-space: nowrap;
}

.nav-link-item a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  padding: 6px 0;
  white-space: nowrap;
}

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

@media (hover: hover) and (pointer: fine) {
  .nav-link-item a:hover {
    color: var(--gold);
  }
  .nav-link-item a:hover::after {
    transform: scaleX(1);
  }
}

.nav-cta-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-btn);
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Hamburger Menu Mobile */
.nav-hamburger {
  display: none;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

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

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

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

/* Imagem de fundo com opacidade reduzida (hero-background.md & mobile.md) */
.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

/* Máscara de escurecimento lateral para legibilidade do texto */
.section-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    var(--navy) 0%, 
    rgba(34, 12, 18, 0.9) 35%, 
    rgba(34, 12, 18, 0.65) 65%, 
    rgba(34, 12, 18, 0.25) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Hero Background Grain Noise */
.hero-noise {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(79, 28, 42, 0.4) 0%, rgba(34, 12, 18, 0.95) 75%),
              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.75' 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;
}

/* Grid da Hero (Texto à esquerda) */
.hero-container {
  position: relative;
  z-index: 4;
}

.hero-content-box {
  max-width: 720px;
  text-align: left;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--cream-muted);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.hero-badges {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding-top: 24px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--cream-muted);
}

.hero-badge-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ==========================================================================
   SEÇÃO 2: A ADVOGADA / SOBRE (ID: #sobre)
   ========================================================================== */
.section-sobre {
  background-color: var(--cream);
  color: var(--ink);
  padding: 40px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: stretch;
  width: 100%;
}

/* Container de Foto com croqui border e Spotlight Hover */
.sobre-photo-card {
  position: relative;
  height: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  background-color: #EAE3D2;
  border: 1px dashed rgba(34, 12, 18, 0.25);
  padding: 10px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.6s var(--ease-premium), box-shadow 0.6s var(--ease-premium);
  display: flex;
  flex-direction: column;
}

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

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

/* Spotlight Direcional no Hover */
.sobre-photo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.4), transparent 80%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .sobre-photo-card:hover {
    transform: translateY(-6px) rotate(0.4deg);
    box-shadow: var(--shadow-card);
  }
  .sobre-photo-card:hover::before {
    opacity: 1;
  }
  .sobre-photo-card:hover .sobre-photo-img {
    transform: scale(1.04);
  }
}

.sobre-info-content h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.sobre-info-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.sobre-differentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.diff-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #EFE8D6;
  padding: 20px;
  border-radius: var(--radius-card);
  border-left: 3px solid var(--gold);
  transition: transform 0.4s var(--ease-premium), background-color 0.4s ease;
}

.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.45), transparent 75%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.diff-card h4, .diff-card p {
  position: relative;
  z-index: 2;
}

.diff-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}

.diff-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .diff-card:hover {
    transform: translateY(-4px);
    background-color: #E6DECA;
  }
  .diff-card:hover::before {
    opacity: 1;
  }
}

/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (ID: #atuacao)
   ========================================================================== */
.section-atuacao {
  background-color: var(--navy);
  color: var(--cream);
  padding: 120px 0;
  position: relative;
}

.atuacao-header {
  max-width: 680px;
  margin-bottom: 60px;
}

.atuacao-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Cards de Atuação com Spotlight Direcional */
.atuacao-card {
  position: relative;
  background-color: var(--blue);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-premium), border-color 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}

/* Dynamic Spotlight Radial Layer */
.atuacao-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--pointer-x) var(--pointer-y), rgba(201, 168, 76, 0.14), transparent 75%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

/* Expanding Highlight Line */
.atuacao-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease-premium);
}

.atuacao-card-content {
  position: relative;
  z-index: 2;
}

.atuacao-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease-premium), background-color 0.4s ease;
}

.atuacao-card h3 {
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 14px;
}

.atuacao-card p {
  color: var(--cream-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .atuacao-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .atuacao-card:hover::before {
    opacity: 1;
  }
  .atuacao-card:hover::after {
    transform: scaleX(1);
  }
  .atuacao-card:hover .atuacao-icon-box {
    transform: scale(1.08) translateY(-2px);
    background-color: var(--gold);
    color: var(--navy);
  }
}

/* ==========================================================================
   SEÇÃO 4: METODOLOGIA (ID: #metodologia)
   ========================================================================== */
.section-metodologia {
  background-color: var(--nude);
  color: var(--navy);
  padding: 120px 0;
  position: relative;
}

.metodologia-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.metodologia-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}

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

.metodologia-card {
  position: relative;
  background-color: #E3D4B6;
  padding: 36px 28px;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-premium), background-color 0.5s ease, box-shadow 0.5s ease;
}

.metodologia-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--pointer-x) var(--pointer-y), rgba(201, 168, 76, 0.22), transparent 75%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.metodologia-step-num, .metodologia-card h3, .metodologia-card p {
  position: relative;
  z-index: 2;
}

.metodologia-step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-premium);
}

.metodologia-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}

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

/* Progress Line on Hover (0 to 100%) */
.metodologia-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
  .metodologia-card:hover {
    transform: translateY(-6px);
    background-color: #DBD0AF;
    box-shadow: 0 16px 32px rgba(34, 12, 18, 0.08);
  }
  .metodologia-card:hover::before {
    opacity: 1;
  }
  .metodologia-card:hover .metodologia-step-num {
    opacity: 0.35;
    transform: scale(1.05);
  }
  .metodologia-card:hover .metodologia-progress-line {
    transform: scaleX(1);
  }
}

/* ==========================================================================
   SEÇÃO 5: FAQ / DÚVIDAS (ID: #faq)
   ========================================================================== */
.section-faq {
  background-color: var(--cream);
  color: var(--ink);
  padding: 120px 0;
}

.faq-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.faq-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}

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

.faq-item {
  position: relative;
  background: #EFE8D6;
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  overflow: hidden;
  isolation: isolate;
  border-left: 3px solid transparent;
  transition: transform 0.4s var(--ease-premium), border-color 0.4s ease, box-shadow 0.4s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.4), transparent 75%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(34, 12, 18, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-premium), background-color 0.4s ease, color 0.4s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
}

/* Accordion UX usando CSS Grid (Regra Estrita de criadordesite.md) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-smooth);
}

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

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

/* Estado Aberto (.faq-item.open) */
.faq-item.open {
  border-left-color: var(--gold);
  background: #E8E0CB;
  box-shadow: 0 10px 24px rgba(34, 12, 18, 0.06);
}

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

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background-color: var(--gold);
  color: var(--navy);
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 20px rgba(34, 12, 18, 0.05);
  }
  .faq-item:hover::before {
    opacity: 1;
  }
}

/* ==========================================================================
   SEÇÃO 6: BLOG & ARTIGO DINÂMICO (Posicionado estritamente antes do Footer)
   ========================================================================== */
.section-blog {
  background-color: var(--navy);
  color: var(--cream);
  padding: 120px 0;
  position: relative;
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Grid Cards do Blog (Apenas Texto - Sem Capas de Imagem) */
.blog-card {
  background-color: var(--blue);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s var(--ease-premium), border-color 0.5s ease, box-shadow 0.5s ease;
}

.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.35;
}

.blog-card-excerpt {
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(245, 237, 216, 0.5);
  border-top: 1px solid rgba(245, 237, 216, 0.1);
  padding-top: 16px;
}

.blog-read-more {
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
}

/* Visualização Detalhada do Artigo (#artigo-secao) */
.section-artigo {
  background-color: var(--cream);
  color: var(--ink);
  padding: 140px 0 120px 0;
}

.artigo-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  background: #EFE8D6;
}

.artigo-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start; /* Importante para Sticky Sidebar */
}

.artigo-main-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.15;
}

.artigo-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(34, 12, 18, 0.15);
  padding-bottom: 20px;
  margin-bottom: 36px;
}

.artigo-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--ink);
}

.artigo-body p {
  margin-bottom: 24px;
}

.artigo-body h2, .artigo-body h3 {
  color: var(--navy);
  margin: 36px 0 16px 0;
}

/* Sidebar Sticky no Scroll (Regra de ajusteparablog.md) */
.artigo-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-author-box {
  background: #EFE8D6;
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(34, 12, 18, 0.1);
  text-align: center;
}

.author-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px auto;
  border: 2px solid var(--gold);
}

.author-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sidebar-cta-box {
  background: var(--navy);
  color: var(--cream);
  padding: 28px;
  border-radius: var(--radius-card);
  text-align: center;
}

.sidebar-cta-box h4 {
  color: var(--gold);
  margin-bottom: 12px;
}

/* ==========================================================================
   SEÇÃO 7: CTA FINAL (#contato)
   ========================================================================== */
.section-cta-final {
  background-color: var(--navy);
  color: var(--cream);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final-box {
  max-width: 760px;
  margin: 0 auto;
}

.cta-final-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--cream);
  margin-bottom: 20px;
}

.cta-final-box p {
  color: var(--cream-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* ==========================================================================
   SEÇÃO 8: FOOTER
   ========================================================================== */
.site-footer {
  background-color: #14070A;
  color: var(--cream);
  padding: 80px 0 32px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

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

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--cream-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--cream-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--cream-muted);
  margin-bottom: 12px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(245, 237, 216, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(245, 237, 216, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-bar a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE (botaozap.md & mobile.md)
   ========================================================================== */
.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; /* Segurança contra sobreposição de cliques */
  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.25);
  transition: transform 0.25s var(--ease-premium), background-color 0.25s var(--ease-premium);
  pointer-events: auto;
}

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

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

/* Tooltip de Inatividade */
.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;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  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);
}

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

.close-tooltip-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
}

/* Painel de Chat Simulado */
.whatsapp-chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 340px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 168, 76, 0.3);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
  pointer-events: none;
}

.whatsapp-chat-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

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

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

.chat-header-name {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}

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

.chat-messages-container {
  padding: 16px;
  background-color: #F8F9FA;
  max-height: 280px;
  overflow-y: auto;
}

.chat-bubble {
  background-color: #FFFFFF;
  border: 1px solid #E9ECEF;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.5;
}

.chat-faq-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: #FFFFFF;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.82rem;
  color: var(--navy);
  margin-bottom: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.chat-faq-opt:hover {
  background: #F5EDD8;
}

.chat-footer {
  padding: 12px 16px;
  background: #FFFFFF;
  border-top: 1px solid #E9ECEF;
}

.chat-direct-link {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px;
  border-radius: 6px;
}

/* Sticky Bar Mobile (Estrito alinhamento flex & conformidade criadordesite.md) */
.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;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

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

.mobile-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: var(--radius-btn, 6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  pointer-events: auto;
  min-height: 48px;
  transition: transform var(--t-snappy), background-color var(--t-snappy);
}

.mobile-sticky-btn svg,
.mobile-sticky-btn img {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 1024px) {
  .section-sobre {
    min-height: auto;
    padding: 60px 0;
    display: block;
  }
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: initial;
  }
  .sobre-photo-card {
    height: auto;
    aspect-ratio: 3/4;
    max-width: 340px;
    margin: 0 auto;
  }
  .metodologia-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .artigo-layout {
    grid-template-columns: 1fr;
  }
  .artigo-sidebar {
    position: static;
  }
}

@media (max-width: 992px) {
  /* Adaptação Responsiva do Hero e Fundo */
  .section-hero::before {
    opacity: 0.75;
  }

  .section-hero::after {
    background: linear-gradient(180deg, 
      var(--navy) 0%, 
      rgba(34, 12, 18, 0.92) 50%, 
      rgba(34, 12, 18, 0.75) 100%
    );
  }

  /* Regras de Mobile Estritas */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - 100%);
    background: rgba(34, 12, 18, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
  }

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

  .nav-hamburger {
    display: flex;
  }

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

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

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

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

  .sobre-differentials-grid {
    grid-template-columns: 1fr;
  }

  /* Ocultar Widget Flutuante no Mobile (Regra de mobile.md) */
  .whatsapp-widget {
    display: none !important;
  }

  /* Exibir Sticky Bar no Mobile */
  .mobile-sticky-bar {
    display: block;
  }
  
  .site-footer {
    padding-bottom: 90px; /* Clearance para sticky bar */
  }
}

/* Accessibilidade: Prefers Reduced Motion */
@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;
  }
  .reveal-element {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   DESIGN HUMANIZADO SOBRE (#sobre) - LISTA DE DIFERENCIAIS
   ========================================================================== */
.sobre-differentials-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(239, 232, 214, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 10px 16px;
  transition: transform 0.4s var(--ease-premium), background-color 0.4s ease, border-color 0.4s ease;
}

.diff-item:hover {
  transform: translateX(4px);
  background: rgba(239, 232, 214, 0.95);
  border-color: rgba(201, 168, 76, 0.5);
}

.diff-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #9E7B27;
  line-height: 1;
  padding-top: 2px;
  min-width: 26px;
}

.diff-body h4 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 2px;
}

.diff-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.35;
}

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

.atuacao-card-boutique {
  position: relative;
  background: linear-gradient(145deg, #4F1C2A 0%, #2A0F16 100%);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.5s var(--ease-premium), border-color 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}

.atuacao-card-boutique:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.35);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.atuacao-card-boutique h3 {
  font-size: 1.28rem;
  color: var(--cream);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.atuacao-card-boutique p {
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(245, 237, 216, 0.1);
  padding-top: 16px;
}

.card-footer-tags span {
  font-size: 0.75rem;
  color: var(--cream-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ==========================================================================
   FORMULÁRIO DE QUALIFICAÇÃO PRÉ-FOOTER (#contato-qualificacao)
   ========================================================================== */
.section-qualificacao {
  background-color: var(--navy);
  color: var(--cream);
  padding: 100px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.qualificacao-wrapper {
  max-width: 840px;
  margin: 0 auto;
  background: linear-gradient(160deg, #32121C 0%, #220C12 100%);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 12px;
  padding: 48px 40px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.qualificacao-header {
  text-align: center;
  margin-bottom: 36px;
}

.qualificacao-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--cream);
  margin-bottom: 12px;
}

.qualificacao-header p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.qualificacao-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
}

/* Form Section Title Divider */
.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding-bottom: 8px;
  margin-top: 12px;
  margin-bottom: 4px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  background: rgba(18, 5, 9, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background-color: rgba(28, 9, 15, 0.95);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

/* Customização de Alta Estética para Select Dropdown */
select.custom-select,
.form-group select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 100% !important;
  background-color: rgba(18, 5, 9, 0.75) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px 16px !important;
  padding: 14px 48px 14px 16px !important;
  border: 1px solid rgba(201, 168, 76, 0.35) !important;
  border-radius: var(--radius-btn) !important;
  color: var(--cream) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.92rem !important;
  height: 52px !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease !important;
}

select.custom-select:focus,
.form-group select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2), 0 8px 20px rgba(0, 0, 0, 0.3) !important;
  background-color: rgba(28, 9, 15, 0.95) !important;
  outline: none !important;
}

select.custom-select option,
.form-group select option {
  background-color: #220C12 !important;
  color: #F5EDD8 !important;
  padding: 14px !important;
  font-size: 0.92rem !important;
}

.perfil-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.perfil-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.perfil-radio-label .radio-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perfil-radio-label .radio-content strong {
  color: var(--cream);
  font-size: 0.9rem;
}

.perfil-radio-label .radio-content small {
  color: var(--cream-muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.perfil-radio-label:has(input:checked) {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.12);
}

.perfil-radio-label input {
  accent-color: var(--gold);
  margin-top: 3px;
}

.btn-qualificacao-submit {
  width: 100%;
  padding: 18px 32px;
  font-size: 1.02rem;
  margin-top: 12px;
}

/* ==========================================================================
   MODAL DE QUALIFICAÇÃO RÁPIDA WHATSAPP (#lead-modal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 7, 11, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(165deg, #36141F 0%, #220C12 100%);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s var(--ease-premium);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-form .form-group {
  margin-bottom: 0;
}

.modal-form textarea {
  min-height: 95px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.modal-form .campo-empregado-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--cream-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s ease;
}

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

.modal-header {
  margin-bottom: 24px;
  padding-right: 24px;
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--cream);
  margin-top: 4px;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--cream-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .atuacao-grid-boutique {
    grid-template-columns: 1fr;
  }
  .qualificacao-wrapper {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   ESTILOS GERAIS DO BLOG E ARTIGOS (ajusteparablog.md)
   ========================================================================== */
#blog-secao, #artigo-secao {
  padding: 100px 24px;
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--cream);
}

.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: rgba(34, 12, 18, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-card, 8px);
  padding: 28px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.blog-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--cream-muted);
  margin-bottom: 20px;
}

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

/* Estilos de 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: rgba(34, 12, 18, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  padding: 28px 24px;
}

.autor-avatar {
  width: 64px;
  height: 64px;
  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.2rem;
}

.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.15rem;
  color: var(--cream);
  display: block;
  margin-bottom: 4px;
}

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

.autor-bio {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--cream-muted);
  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: var(--cream-muted);
}

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

.sidebar-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  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: var(--cream-muted);
}

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

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

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

.artigo-meta-date {
  font-size: 0.9rem;
  color: var(--cream-muted);
  display: block;
  margin-bottom: 12px;
}

.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.08rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--cream);
}

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

/* ==========================================================================
   ESTILOS DOS CAMPOS DE EMPREGADO E AVISO LEGAL LGPD
   ========================================================================== */
.campo-empregado-group {
  display: block;
  margin-top: 16px;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.campo-empregado-group.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.form-lgpd-note {
  font-size: 0.78rem;
  color: var(--cream-muted, rgba(255, 255, 255, 0.65));
  margin-top: 14px;
  line-height: 1.45;
  text-align: center;
}

.modal-lgpd-note {
  color: var(--cream-muted, rgba(245, 237, 216, 0.75));
  margin-top: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

