/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --navy: #0D2342;
  --navy-dark: #071224;
  --navy-light: #163761;
  --navy-accent: rgba(13, 35, 66, 0.05);

  /* Gold Gradient and solid details */
  --gold: #C9A84C;
  --gold-light: #e5c158;
  --gold-dark: #a38233;
  --gold-gradient: linear-gradient(135deg, #C9A84C, #e5c158);
  
  /* Light Colors */
  --cream: #F5EDD8;
  --cream-dark: #ebdcb2;
  --nude: #EDE0C4;
  --white: #ffffff;
  
  /* Text colors */
  --text-light: #F5EDD8;
  --text-dark: #000c33;
  --text-muted: rgba(245, 237, 216, 0.7);
  --text-muted-dark: rgba(0, 12, 51, 0.6);
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Animation Easing & Speed */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1); /* Apple premium curve */
  --t-snappy: 0.25s var(--ease-premium);
  --t-smooth: 0.5s var(--ease-premium);
  --t-slow: 0.8s var(--ease-premium);

  /* Hard Lines & Radii */
  --radius-btn: 4px;
  --radius-card: 6px;
  --border-fine: 1px solid rgba(201, 168, 76, 0.25);
  --border-fine-light: 1px solid rgba(13, 35, 66, 0.15);
}

/* ==========================================================================
   BASE & RESET SYSTEM
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--navy-dark);
  color: var(--cream);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) var(--navy-dark);
}

body {
  min-height: 100vh;
  position: relative;
}

/* Custom Scrollbar - Thinner than standard, branded */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Prevenção de Tontura / Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* ==========================================================================
   LAYOUT CONTAINERS & LAYERS
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
}

p {
  line-height: 1.7;
  font-weight: 300;
}

/* ==========================================================================
   GRAIN NOISE OVERLAY
   ========================================================================== */
.grain-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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.03;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   ANIMATIONS (ENTRADA SUAVE E LENTA)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: transform, opacity;
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--t-slow) 0.15s, transform var(--t-slow) 0.15s;
  will-change: transform, opacity;
}

.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   BUTTONS (NO GLOW, STRAIGHT LINES, TRANSLATE HOVER)
   ========================================================================== */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: var(--navy-dark);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-snappy), box-shadow var(--t-snappy), background var(--t-snappy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, var(--gold-light), #f0d575);
  }
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 35px;
  border: 1px solid rgba(245, 237, 216, 0.3);
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-snappy), background-color var(--t-snappy), border-color var(--t-snappy);
}

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

/* ==========================================================================
   NAVBAR (INTELIGENTE & BLUR)
   ========================================================================== */
.header-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: transform var(--t-smooth), background-color var(--t-smooth), border-color var(--t-smooth);
  border-bottom: 1px solid transparent;
}

/* Estado ativo (com scroll) */
.header-navigation.scrolled {
  background-color: rgba(13, 35, 66, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(201, 168, 76, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: height var(--t-smooth);
}

.header-navigation.scrolled .nav-container {
  height: 75px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-wrapper .logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-wrapper .logo-text span {
  color: var(--gold);
}

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color var(--t-snappy);
}

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

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

/* ==========================================================================
   SEÇÃO 1: HERO (ID: #inicio)
   ========================================================================== */
.hero-section {
  background-color: var(--navy-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

/* Imagem abstrata de fundo da Hero */
.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: url('assets/images/hero_abstract.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

/* Máscara que escurece o lado esquerdo para contraste do texto */
.hero-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
    rgba(0, 12, 51, 1) 0%, 
    rgba(0, 12, 51, 0.95) 45%, 
    rgba(0, 12, 51, 0.5) 75%, 
    rgba(0, 12, 51, 0.1) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 24px;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 580px;
}

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

/* ==========================================================================
   SEÇÃO 2: SOBRE (ID: #sobre)
   ========================================================================== */
.about-section {
  background-color: var(--cream);
  color: var(--navy-dark);
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-image-container {
  position: relative;
  aspect-ratio: 3/4;
  border: 1px solid rgba(13, 35, 66, 0.15);
  padding: 12px;
  background-color: var(--white);
}

.about-image-container::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(13, 35, 66, 0.25);
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  filter: grayscale(20%);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 32px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 400;
  text-align: justify;
}

.about-text strong {
  color: var(--navy);
  font-weight: 600;
}

/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (ID: #atuacao)
   ========================================================================== */
.atuacao-section {
  background-color: var(--navy-dark);
  color: var(--cream);
  padding: 120px 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-header {
  margin-bottom: 64px;
  max-width: 600px;
}

.section-kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 20px;
}

.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.atuacao-section .grain-noise {
  opacity: 0.01; /* Reduz o ruído visual de fundo */
}

.atuacao-card {
  background-color: rgba(7, 18, 36, 0.4); /* Fundo mais escuro e limpo */
  border: 1px solid rgba(201, 168, 76, 0.12); /* Borda mais fina e discreta */
  border-radius: var(--radius-card);
  padding: 40px;
  transition: transform var(--t-snappy), border-color var(--t-snappy), background-color var(--t-snappy);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.atuacao-card-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 24px;
  display: block;
}

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

.atuacao-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .atuacao-card:hover {
    transform: translateY(-4px);
    background-color: rgba(13, 35, 66, 0.4);
    border-color: var(--gold-light);
  }
}

/* ==========================================================================
   SEÇÃO 4: METODOLOGIA (ID: #metodologia)
   ========================================================================== */
.metodologia-section {
  background-color: var(--nude);
  color: var(--navy-dark);
  padding: 120px 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.metodologia-card {
  position: relative;
  padding: 48px 32px 32px;
  background-color: rgba(245, 237, 216, 0.5);
  border-left: 3px solid var(--navy);
  transition: transform var(--t-snappy);
}

.metodologia-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  right: 24px;
  line-height: 1;
}

.metodologia-card-title {
  font-size: 1.35rem;
  color: var(--navy-dark);
  margin-bottom: 16px;
  font-weight: 600;
}

.metodologia-card-desc {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  .metodologia-card:hover {
    transform: translateY(-3px);
  }
}

/* ==========================================================================
   SEÇÃO 5: FAQ (ID: #faq)
   ========================================================================== */
.faq-section {
  background-color: var(--cream);
  color: var(--navy-dark);
  padding: 120px 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.faq-intro-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 24px;
}

.faq-intro-text {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 400;
}

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

.faq-item {
  background-color: var(--white);
  border: var(--border-fine-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding-right: 16px;
}

.faq-icon-svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  transition: transform var(--t-smooth);
}

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

/* Grid Animation (Accordion CSS Grid) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-smooth);
}

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

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

.faq-content {
  padding: 0 32px 32px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dark);
  font-weight: 400;
}

/* ==========================================================================
   SEÇÕES DINÂMICAS DO BLOG (INTEGRAÇÃO SUPABASE)
   ========================================================================== */
#blog-secao, #artigo-secao {
  background-color: var(--navy-dark);
  color: var(--cream);
  padding: 120px 0;
}

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

.blog-card {
  background-color: rgba(13, 35, 66, 0.25);
  border: var(--border-fine);
  border-radius: var(--radius-card);
  padding: 32px;
  cursor: pointer;
  transition: transform var(--t-snappy), border-color var(--t-snappy), background-color var(--t-snappy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.blog-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

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

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 300;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: auto;
  transition: color var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover {
    transform: translateY(-4px);
    background-color: rgba(13, 35, 66, 0.4);
    border-color: var(--gold-light);
  }
}

/* Post Único View */
.artigo-single-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn-voltar {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  transition: color var(--t-snappy), transform var(--t-snappy);
}

.btn-voltar:hover {
  color: var(--gold-light);
  transform: translateX(-4px);
}

.artigo-meta-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}

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

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

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

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

.artigo-text-body h2 {
  font-size: 1.75rem;
  color: var(--white);
  margin: 40px 0 20px;
}

.artigo-text-body h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin: 30px 0 16px;
}

.artigo-text-body ul, .artigo-text-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.artigo-text-body li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--cream);
  font-weight: 300;
}

.blog-blockquote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 40px 0;
  font-style: italic;
}

.loading, .empty, .error {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 48px 0;
}

.error a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

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

.cta-final-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 24px;
}

.cta-final-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.cta-final-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
}

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

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

.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand .logo-text span {
  color: var(--gold);
}

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

.footer-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 24px;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-snappy);
}

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

.footer-contact-card {
  background-color: rgba(13, 35, 66, 0.15);
  border: var(--border-fine);
  border-radius: var(--radius-card);
  padding: 32px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
}

.footer-contact-value {
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
}

a.footer-contact-value:hover {
  color: var(--gold-light);
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

/* CSS MASK PARA REDES SOCIAIS */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: rgba(245, 237, 216, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: background-color var(--t-snappy), border-color var(--t-snappy);
}

.social-mask {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--nude);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: background-color var(--t-snappy);
}

.social-mask--whatsapp {
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"%3E%3Cpath d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L0 24l6.335-1.662c1.746.953 3.71 1.458 5.704 1.459h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/%3E%3C/svg%3E');
}

.social-mask--instagram {
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg"%3E%3Crect x="2" y="2" width="20" height="20" rx="5" ry="5"/%3E%3Cpath d="M16 11.37A4 4 0 1112.63 8 4 4 0 0116 11.37z"/%3E%3Cline x1="17.5" y1="6.5" x2="17.51" y2="6.5"/%3E%3C/svg%3E');
          mask-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg"%3E%3Crect x="2" y="2" width="20" height="20" rx="5" ry="5"/%3E%3Cpath d="M16 11.37A4 4 0 1112.63 8 4 4 0 0116 11.37z"/%3E%3Cline x1="17.5" y1="6.5" x2="17.51" y2="6.5"/%3E%3C/svg%3E');
}

.social-mask--linkedin {
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6z"/%3E%3Crect x="2" y="9" width="4" height="12"/%3E%3Ccircle cx="4" cy="4" r="2"/%3E%3C/svg%3E');
          mask-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6z"/%3E%3Crect x="2" y="9" width="4" height="12"/%3E%3Ccircle cx="4" cy="4" r="2"/%3E%3C/svg%3E');
}

.social-link--whatsapp:hover {
  background-color: rgba(37, 211, 102, 0.1);
  border-color: #25D366;
}
.social-link--whatsapp:hover .social-mask {
  background-color: #25D366;
}

.social-link--instagram:hover {
  background-color: rgba(225, 48, 108, 0.1);
  border-color: #E1306C;
}
.social-link--instagram:hover .social-mask {
  background-color: #E1306C;
}

.social-link--linkedin:hover {
  background-color: rgba(10, 102, 194, 0.1);
  border-color: #0A66C2;
}
.social-link--linkedin:hover .social-mask {
  background-color: #0A66C2;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(245, 237, 216, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-credits {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-credits a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--t-snappy);
}

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

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE
   ========================================================================== */
.zap-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: transform var(--t-smooth), opacity var(--t-smooth);
}

.zap-widget.widget-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Botão Circular Principal */
.zap-btn-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--navy-dark);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform var(--t-snappy), background-color var(--t-snappy);
  will-change: transform;
}

.zap-btn-main::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  opacity: 0.5;
}

.zap-btn-main:active {
  transform: scale(0.95);
}

.zap-icon-mask {
  display: block;
  width: 28px;
  height: 28px;
  background-color: var(--cream);
  -webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"%3E%3Cpath d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L0 24l6.335-1.662c1.746.953 3.71 1.458 5.704 1.459h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/%3E%3C/svg%3E');
          mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"%3E%3Cpath d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L0 24l6.335-1.662c1.746.953 3.71 1.458 5.704 1.459h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/%3E%3C/svg%3E');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: background-color var(--t-snappy);
}

/* Tooltip de Inatividade */
.zap-tooltip {
  position: absolute;
  bottom: 75px;
  right: 0;
  background-color: var(--navy);
  border: var(--border-fine);
  padding: 16px 20px;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 280px;
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity var(--t-smooth), transform var(--t-smooth);
}

.zap-tooltip.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.zap-tooltip-text {
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.4;
}

.zap-tooltip-close {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.zap-tooltip-close svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2;
}

/* Painel do Chat Simulado */
.zap-panel {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  background-color: var(--navy-dark);
  border: var(--border-fine);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.95) translateY(15px);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity var(--t-smooth), transform var(--t-smooth);
  z-index: 10;
}

.zap-panel.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Cabeçalho do Painel */
.zap-panel-header {
  background-color: var(--navy);
  padding: 24px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
}

.zap-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--navy-dark);
  border: 1px solid var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zap-avatar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.zap-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zap-header-name {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.zap-header-status {
  font-size: 0.75rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.zap-header-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #25D366;
}

/* Área de Mensagens do Chat */
.zap-panel-body {
  padding: 24px;
  height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: rgba(0, 12, 51, 0.2);
}

/* Custom scrollbar para o painel */
.zap-panel-body::-webkit-scrollbar {
  width: 4px;
}
.zap-panel-body::-webkit-scrollbar-thumb {
  background: var(--navy);
}

.zap-bubble {
  max-width: 85%;
  padding: 14px 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 4px;
  animation: bubbleReveal 0.3s var(--ease-premium) forwards;
}

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

.zap-bubble--inbound {
  background-color: var(--navy);
  border: 1px solid rgba(245, 237, 216, 0.1);
  color: var(--cream);
  align-self: flex-start;
}

.zap-bubble--outbound {
  background-color: var(--gold);
  color: var(--navy-dark);
  align-self: flex-end;
  font-weight: 500;
}

/* Animação digitando */
.zap-typing-loader {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
  padding: 0 4px;
}

.zap-typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
  animation: zapDotPulse 1.4s infinite ease-in-out both;
}

.zap-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.zap-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes zapDotPulse {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Área de Opções/Perguntas frequentes */
.zap-options-wrapper {
  padding: 16px 24px 24px;
  background-color: var(--navy-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  transition: opacity var(--t-snappy), max-height var(--t-smooth);
  overflow: hidden;
}

.zap-options-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

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

.zap-option-btn {
  width: 100%;
  background-color: rgba(245, 237, 216, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color var(--t-snappy), border-color var(--t-snappy);
}

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

/* ==========================================================================
   STICKY BAR MOBILE NO FOOTER
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 98;
  padding: 16px 24px;
  background-color: var(--white);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform var(--t-smooth);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-bar .btn-gold {
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET ADJUSTMENTS)
   ========================================================================== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-bg-image {
    width: 100%;
    opacity: 0.1;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image-container {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .footer-contact-card {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 24px;
  }
  .nav-menu {
    display: none; /* Em landing de alta conversão jurídica, ocultamos menu complexo no mobile */
  }
  
  /* Exibição da Sticky bar ativa no mobile */
  .mobile-sticky-bar {
    display: block;
  }
  
  /* Clearance inferior no mobile para a sticky bar */
  .cta-final-section {
    padding-bottom: 120px;
  }
  .site-footer {
    padding-bottom: 140px;
  }
  
  /* Deslocamento do widget do WhatsApp para cima para não sobrepor */
  .zap-widget {
    bottom: 95px;
    right: 20px;
  }
  .zap-panel {
    width: calc(100vw - 40px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-contact-card {
    grid-column: span 1;
  }
}
