@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIÁVEIS
   ========================================================================== */
:root {
  /* Cores Refinadas */
  --navy: #0B1A24;
  --navy-rgb: 11, 26, 36;
  --blue: #16324D;
  --blue-rgb: 22, 50, 77;
  --gold: #C4A46D;
  --gold-rgb: 196, 164, 109;
  --light-bg: #F5F7FA;
  --white: #FFFFFF;
  
  /* Cores de Texto */
  --text-light: #FFFFFF;
  --text-muted-light: rgba(255, 255, 255, 0.7);
  --text-dark: #0B1A24;
  --text-muted-dark: rgba(11, 26, 36, 0.7);
  
  /* Tipografia */
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  
  /* Transições e Curvas Premium (Curva de Luxo Apple + Slow Motion) */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --t-snappy: 0.38s var(--ease-premium);
  --t-smooth: 0.75s var(--ease-premium);
  --t-slow: 1.1s var(--ease-premium);
  
  /* Raio de Bordas */
  --radius-button: 4px;
  --radius-card: 8px;
  
  /* Altura da Navbar */
  --nav-height: 80px;
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES GERAIS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.25;
}

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: all var(--t-snappy);
}

ul {
  list-style: none;
}

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

/* Redução de animações para acessibilidade */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::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;
  }
}

/* ==========================================================================
   LAYOUTS REUTILIZÁVEIS E COMPONENTES COMUNS
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section-padding {
  padding: 100px 0;
}

.kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}

.section-title.light {
  color: var(--text-light);
}

.section-title.dark {
  color: var(--text-dark);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-button);
  transition: all var(--t-snappy);
  text-transform: uppercase;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    background-color: #d1b17a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  .btn-outline:hover {
    background-color: rgba(196, 164, 109, 0.1);
    transform: translateY(-2px);
  }
}

/* ==========================================================================
   SEÇÃO 0: NAVBAR INTELIGENTE
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: transform var(--t-smooth), background-color var(--t-smooth), opacity var(--t-smooth);
  background-color: transparent;
}

.header-nav.nav-scrolled {
  background-color: rgba(11, 26, 36, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 164, 109, 0.1);
}

.header-nav.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

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

.logo-link {
  display: flex;
  align-items: center;
  max-width: 160px;
  height: 48px;
}

.logo-link img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: center;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: transform var(--t-snappy), opacity var(--t-snappy);
}

/* Mobile Menu */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-smooth);
}

.mobile-nav-menu.menu-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-menu .nav-link {
  font-size: 18px;
}

/* ==========================================================================
   SEÇÃO 1: HERO
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  background-color: var(--navy);
  /* Grain Noise + Radial Gradient */
  background-image: 
    radial-gradient(circle at 70% 50%, rgba(22, 50, 77, 0.4) 0%, rgba(11, 26, 36, 0) 60%),
    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)' opacity='0.035'/%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.hero-content {
  text-align: left;
  z-index: 10;
}

.hero-title {
  font-size: clamp(38px, 6vw, 62px);
  margin-bottom: 24px;
  color: var(--text-light);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 300;
  color: var(--text-muted-light);
  margin-bottom: 40px;
  max-width: 620px;
}

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

.hero-watermark {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

/* Ícone de Escudo em Marca D'água */
.watermark-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  opacity: 0.045;
  color: var(--gold);
  filter: drop-shadow(0 0 40px rgba(196, 164, 109, 0.1));
  animation: floatIcon 12s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Destaques Rápidos sob a Hero */
.hero-highlights {
  background-color: var(--navy);
  border-top: 1px solid rgba(196, 164, 109, 0.1);
  padding: 40px 0;
  color: var(--text-light);
}

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

.highlight-card {
  padding: 24px;
  border-left: 2px solid var(--gold);
  background-color: rgba(22, 50, 77, 0.15);
}

.highlight-card h3 {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 14px;
  color: var(--text-muted-light);
}

/* ==========================================================================
   SEÇÃO 2: SOBRE (O ESCRITÓRIO)
   ========================================================================== */
.about-section {
  background-color: var(--white);
  color: var(--text-dark);
}

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

.about-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px dashed var(--gold);
  padding: 8px;
  background-color: var(--white);
  transition: border-color var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .about-image:hover {
    border-color: rgba(196, 164, 109, 0.8);
  }
}


/* Croqui Artístico Placeholder */
.croqui-placeholder {
  width: 100%;
  height: 100%;
  border: 1px dashed var(--gold);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--light-bg);
  position: relative;
  text-align: center;
}

.croqui-placeholder::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px dashed rgba(196, 164, 109, 0.3);
}

.croqui-icon {
  width: 64px;
  height: 64px;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 24px;
}

.croqui-text {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
  font-style: italic;
}

.croqui-subtext {
  font-size: 12px;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-text {
  font-size: 16px;
  color: var(--text-muted-dark);
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO
   ========================================================================== */
.services-section {
  background-color: var(--navy);
  color: var(--text-light);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.services-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.services-header p {
  color: var(--text-muted-light);
  font-size: 16px;
}

/* Lista de Serviços Linear (Visual Editorial Sumário) */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(196, 164, 109, 0.15);
  margin-top: 40px;
}

.service-item {
  display: grid;
  grid-template-columns: 0.15fr 0.85fr 1fr;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(196, 164, 109, 0.15);
  transition: all var(--t-smooth);
  position: relative;
}

.service-item-num {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--gold);
  font-weight: 500;
  opacity: 0.8;
  padding-top: 4px;
  transition: transform var(--t-smooth);
}

.service-item-title {
  font-family: var(--font-title);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--text-light);
  font-weight: 500;
  padding-right: 48px;
  line-height: 1.35;
  transition: color var(--t-smooth), transform var(--t-smooth);
}

.service-item-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted-light);
  line-height: 1.75;
  transition: color var(--t-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .service-item:hover {
    border-color: var(--gold);
    padding-left: 24px;
    padding-right: 24px;
    background-color: rgba(22, 50, 77, 0.25);
  }
  .service-item:hover .service-item-title {
    color: var(--gold);
    transform: translateX(8px);
  }
  .service-item:hover .service-item-num {
    transform: translateX(4px);
  }
  .service-item:hover .service-item-desc {
    color: var(--text-light);
  }
}

/* Responsivo para telas menores */
@media (max-width: 992px) {
  .service-item {
    grid-template-columns: 0.15fr 1.85fr;
    gap: 16px;
    padding: 30px 0;
  }
  .service-item-title {
    padding-right: 0;
  }
  .service-item-desc {
    grid-column: 2;
    margin-top: 12px;
  }
}

@media (max-width: 576px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
  .service-item-num {
    font-size: 16px;
  }
  .service-item-desc {
    grid-column: 1;
    margin-top: 8px;
  }
}

/* ==========================================================================
   SEÇÃO 4: DIFERENCIAIS
   ========================================================================== */
.differences-section {
  background-color: var(--light-bg);
  color: var(--text-dark);
}

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

.differences-subtitle {
  font-size: 16px;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto;
}

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

.diff-card {
  background-color: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-card);
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  height: 280px; /* Altura fixa para manter o grid estável */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-smooth), box-shadow var(--t-smooth), transform var(--t-smooth);
}

.diff-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.diff-header-group {
  transition: transform var(--t-smooth);
  transform: translateY(50px); /* Centralizado verticalmente no estado normal */
}

.diff-card:hover .diff-header-group {
  transform: translateY(0); /* Sobe no hover */
}

.diff-number {
  font-family: var(--font-title);
  font-size: 42px;
  color: rgba(196, 164, 109, 0.4);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  transition: font-size var(--t-smooth), color var(--t-smooth);
}

.diff-card:hover .diff-number {
  font-size: 26px;
  color: var(--gold);
}

.diff-title {
  font-size: 22px;
  color: var(--navy);
  line-height: 1.35;
  transition: font-size var(--t-smooth);
}

.diff-card:hover .diff-title {
  font-size: 17px;
}

.diff-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted-dark);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-smooth), transform var(--t-smooth);
  margin-top: 16px;
  pointer-events: none;
}

.diff-card:hover .diff-desc {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .diff-card:hover {
    box-shadow: 0 12px 32px rgba(11, 26, 36, 0.04);
    transform: translateY(-4px);
  }
}

/* Responsivo para diferenciais (mobile) - sem hover */
@media (max-width: 768px) {
  .diff-card {
    height: auto;
  }
  .diff-header-group {
    transform: translateY(0);
  }
  .diff-number {
    font-size: 32px;
  }
  .diff-title {
    font-size: 19px;
  }
  .diff-desc {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ==========================================================================
   SEÇÃO 5: METODOLOGIA
   ========================================================================== */
.methodology-section {
  background-color: var(--white);
  color: var(--text-dark);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.methodology-header {
  max-width: 700px;
  margin-bottom: 60px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.step-card {
  position: relative;
  padding: 24px 0;
}

.step-number {
  font-family: var(--font-title);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
  margin-bottom: -16px;
  display: block;
}

.step-title {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted-dark);
  position: relative;
  z-index: 2;
}

.methodology-cta {
  text-align: center;
  margin-top: 60px;
}

/* ==========================================================================
   SEÇÃO 6: CTA FINAL
   ========================================================================== */
.cta-section {
  background-color: var(--navy);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  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)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: clamp(28px, 4.5vw, 42px);
  margin-bottom: 24px;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-muted-light);
  margin-bottom: 40px;
  max-width: 600px;
}

/* ==========================================================================
   SEÇÃO 7: FOOTER
   ========================================================================== */
.footer-section {
  background-color: var(--navy);
  color: var(--text-light);
  border-top: 1px solid rgba(196, 164, 109, 0.1);
  padding: 80px 0 30px;
}

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

.footer-brand .footer-logo {
  max-height: 48px;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted-light);
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
  font-family: var(--font-title);
  letter-spacing: 0.05em;
}

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

.footer-links-list a {
  font-size: 14px;
  color: var(--text-muted-light);
  display: inline-block;
  width: fit-content;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted-light);
}

/* ==========================================================================
   PÁGINA DE BLOG E ARTIGOS
   ========================================================================== */
.blog-header {
  background-color: var(--navy);
  color: var(--text-light);
  padding: 140px 0 80px;
  text-align: center;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(22, 50, 77, 0.3) 0%, rgba(11, 26, 36, 0) 80%),
    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)' opacity='0.035'/%3E%3C/svg%3E");
}

.blog-header-title {
  font-size: clamp(36px, 5vw, 54px);
  margin-bottom: 16px;
}

.blog-header-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted-light);
  max-width: 600px;
  margin: 0 auto;
}

.blog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(196, 164, 109, 0.2);
  color: var(--text-muted-dark);
  border-radius: var(--radius-button);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.blog-card {
  background-color: var(--white);
  border: 1px solid rgba(11, 26, 36, 0.08);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
  transition: transform var(--t-snappy), border-color var(--t-snappy), box-shadow var(--t-snappy);
}

.blog-card-category {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.blog-card-title {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted-dark);
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-cta {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-snappy);
}

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 164, 109, 0.3);
    box-shadow: 0 16px 40px rgba(11, 26, 36, 0.05);
  }
  .blog-card:hover .blog-card-cta svg {
    transform: translateX(4px);
  }
}

/* Template do Artigo Individual */
.article-page {
  padding-top: var(--nav-height);
}

.article-hero {
  background-color: var(--navy);
  color: var(--text-light);
  padding: 80px 0;
  border-bottom: 1px solid rgba(196, 164, 109, 0.1);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-title {
  font-size: clamp(28px, 4.5vw, 48px);
  max-width: 900px;
}

.article-body-section {
  padding: 80px 0;
  background-color: var(--white);
}

.article-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.article-content {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 28px;
}

.article-content h2, .article-content h3 {
  color: var(--navy);
  margin: 48px 0 20px;
}

.article-content ul, .article-content ol {
  margin: 0 0 28px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 40px;
}

.article-back svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-snappy);
}

.article-back:hover svg {
  transform: translateX(-4px);
}

/* ==========================================================================
   💬 COMPONENTE FLUTUANTE: WIDGET DE WHATSAPP INTELIGENTE
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity var(--t-smooth), transform var(--t-smooth);
}

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

/* Botão Circular Principal */
.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #123524; /* Verde Escuro Discreto e Austero */
  border: 1px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF; /* Ícone em branco para contraste sóbrio */
  position: relative;
  transition: transform var(--t-snappy), background-color var(--t-snappy);
  z-index: 10;
}

.whatsapp-btn svg {
  width: 26px;
  height: 26px;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-btn:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: #1d4d35; /* Verde um pouco mais vivo no hover */
  }
}

/* Balão de Tooltip de Inatividade */
.whatsapp-tooltip {
  position: absolute;
  bottom: 68px;
  right: 0;
  background-color: var(--white);
  border: 1px solid rgba(196, 164, 109, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity var(--t-snappy), transform var(--t-snappy);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9;
}

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

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 10px;
  height: 10px;
  background-color: var(--white);
  border-right: 1px solid rgba(196, 164, 109, 0.2);
  border-bottom: 1px solid rgba(196, 164, 109, 0.2);
  transform: rotate(45deg);
}

.tooltip-close-btn {
  color: var(--text-muted-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

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

/* Painel de Conversa Principal */
.whatsapp-chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 60px);
  background-color: var(--white);
  border: 1px solid rgba(196, 164, 109, 0.2);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(11, 26, 36, 0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity var(--t-smooth), transform var(--t-smooth);
  pointer-events: none;
  z-index: 100;
}

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

/* Header do Painel */
.chat-panel-header {
  background-color: var(--navy);
  border-bottom: 1px solid rgba(196, 164, 109, 0.15);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-panel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blue);
  border: 1px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-panel-avatar svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.chat-panel-header-info h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2px;
}

.chat-panel-header-info p {
  font-size: 11px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-panel-header-info p::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #25d366;
  border-radius: 50%;
}

.chat-panel-close {
  margin-left: auto;
  color: var(--text-muted-light);
  font-size: 20px;
  display: none; /* Apenas visível em mobile */
}

/* Corpo do Chat */
.chat-panel-body {
  height: 280px;
  overflow-y: auto;
  padding: 20px;
  background-color: #FAFBFC;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

/* Balões de Mensagem */
.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-msg.msg-system {
  background-color: var(--light-bg);
  color: var(--navy);
  border-top-left-radius: 0;
  border: 1px solid rgba(11, 26, 36, 0.05);
  align-self: flex-start;
}

.chat-msg.msg-user {
  background-color: var(--blue);
  color: var(--text-light);
  border-top-right-radius: 0;
  align-self: flex-end;
}

/* Loader Digitando */
.chat-msg-typing {
  align-self: flex-start;
  background-color: var(--light-bg);
  border: 1px solid rgba(11, 26, 36, 0.05);
  border-top-left-radius: 0;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
}

.chat-msg-typing.active {
  display: flex;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
  animation: typingPulse 1s infinite alternate;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingPulse {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

/* Opções de Perguntas */
.chat-panel-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity var(--t-snappy), transform var(--t-snappy);
}

.chat-panel-options.options-hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.chat-opt-btn {
  background-color: var(--white);
  border: 1px solid rgba(196, 164, 109, 0.25);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  line-height: 1.4;
}

.chat-opt-btn:hover {
  background-color: var(--light-bg);
  border-color: var(--gold);
}

/* Footer do Painel */
.chat-panel-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(11, 26, 36, 0.05);
  background-color: var(--white);
  text-align: center;
}

.chat-panel-whatsapp-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-panel-whatsapp-link span {
  position: relative;
  padding-bottom: 2px;
}

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

.chat-panel-whatsapp-link svg {
  width: 16px;
  height: 16px;
}

.chat-panel-whatsapp-link:hover {
  color: #ba9e66;
}

.chat-panel-whatsapp-link:hover span::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-watermark {
    display: none;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
  

  
  .differences-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }
  
  .nav-menu {
    display: none; /* Implementaremos menu mobile por JS no main.js */
  }
  
  .nav-toggle {
    display: flex;
  }
  

  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-chat-panel {
    bottom: 70px;
    width: 320px;
    max-width: calc(100vw - 40px);
  }
  
  .chat-panel-close {
    display: block;
  }
}

/* ==========================================================================
   ANIMAÇÃO E EFEITO DE REVELAÇÃO EXCLUSIVOS
   ========================================================================== */
.reveal-element {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity var(--t-smooth), filter var(--t-smooth), transform var(--t-smooth);
  will-change: transform, opacity, filter;
}

.reveal-element.reveal-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Delays em grids para efeito cascata */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Animação do Brasão SVG da Hero */
.watermark-svg path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 5s ease-out forwards;
}

.watermark-svg line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3.5s ease-out forwards 0.8s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Link de Créditos do Rodapé */
.footer-credit-link {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-snappy);
}

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

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

.footer-credit-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
