/* ==========================================================================
   DESIGN SYSTEM - ALOÍSIO DA SILVA ADVOCACIA
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Paleta Oficial - Cinza Grafite Tons sobre Tom */
  --brand-navy: #181E29;          /* Grafite Intenso Corporativo */
  --brand-navy-dark: #11141A;     /* Grafite Profundo */
  --brand-graphite-card: #232B3B; /* Grafite Médio para Cards */
  --brand-graphite-surface: #2A3447;
  --brand-gold: #C5A059;
  --brand-gold-hover: #9E804B;
  --brand-gold-light: rgba(197, 160, 89, 0.12);
  --brand-white: #FFFFFF;
  --brand-bg-light: #F8FAFC;
  --brand-bg-alt: #F1F5F9;       /* Grafite Suave Claro */
  --brand-text-dark: #0F172A;
  --brand-text-muted: #475569;
  --brand-border: rgba(0, 0, 0, 0.08);
  --brand-border-dark: rgba(255, 255, 255, 0.08);
  --brand-cta: #181E29;

  /* Tipografia Editorial Luxo & Corporativo - Lora + Plus Jakarta Sans */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Easing & Animações */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-premium);
  --transition-normal: 0.35s var(--ease-premium);
  --transition-slow: 0.6s var(--ease-premium);

  /* Dimensões & Bordas (criadordesite.md: max 6px btn, max 8px card) */
  --radius-btn: 6px;
  --radius-card: 8px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Estilo para Ampersand (&) Corporativo Limpo */
.ampersand {
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  color: inherit !important;
  display: inline;
  padding: 0;
}

/* Scrollbar Personalizada Minimalista (criadordesite.md) */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--brand-navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-gold-hover);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* Seções Gerais com Alternância de Cores */
.section {
  padding: clamp(50px, 7vw, 100px) 0;
  position: relative;
}
.section-alt {
  background-color: var(--brand-bg-alt);
}
.section-dark {
  background-color: var(--brand-navy);
  color: var(--brand-white);
}

/* Títulos de Seção */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 60px) auto;
}
.section-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: inherit;
}
.section-dark .section-title {
  color: var(--brand-white);
}

/* Destaque em Palavras-Chave Globais */
.highlight-keyword {
  color: var(--brand-gold);
  font-weight: 600;
  font-style: italic;
  position: relative;
  display: inline;
  transition: color 0.3s var(--ease-premium);
  cursor: default;
}
.highlight-keyword:hover {
  color: #F5D77F;
}
.section-dark .highlight-keyword,
.section-hero .highlight-keyword {
  color: #D4AF37;
  text-shadow: none;
}
.section-dark .highlight-keyword:hover,
.section-hero .highlight-keyword:hover {
  color: #FFF0BB;
}

/* Botões Globais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(12px, 2vw, 15px) clamp(20px, 3vw, 30px);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-normal);
  border: 1px solid transparent;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s var(--ease-premium);
  z-index: 2;
}
.btn:hover::after {
  left: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, #FFE896 0%, #D4AF37 45%, #B8860B 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #0A1119;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 235, 175, 0.6);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: background-position 0.45s var(--ease-premium), transform var(--transition-fast), box-shadow var(--transition-normal), border-color var(--transition-fast);
}
.btn-primary:hover {
  background-position: 100% 50%;
  color: #03070D;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px -2px rgba(212, 175, 55, 0.55), 0 4px 14px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  border-color: #FFFFFF;
}
.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}
.btn-outline {
  background-color: transparent;
  color: var(--brand-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
  border-color: #D4AF37;
  color: #FFE896;
  background-color: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   SEÇÃO 0: NAVBAR INTELIGENTE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal);
}
.site-header.scrolled,
.site-header.header-force-solid {
  background-color: rgba(7, 17, 30, 0.94);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo img {
  height: clamp(38px, 5vw, 48px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) brightness(1.15);
  transition: height var(--transition-normal), filter var(--transition-normal), transform var(--transition-fast);
}
.header-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.4)) brightness(1.25);
}
.site-header.scrolled .header-logo img {
  height: clamp(34px, 4.2vw, 42px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--brand-gold);
  transition: width var(--transition-fast);
}
.nav-link:hover {
  color: var(--brand-white);
}
.nav-link:hover::after {
  width: 100%;
}

/* Menu Hamburger Mobile */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  align-items: center;
  justify-content: center;
}
.hamburger-box {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--brand-white);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  transform-origin: center;
}
.nav-hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay Mobile Links */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(7, 17, 30, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
  }
  .nav-menu.is-active {
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    font-size: 1.25rem;
  }
}

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

/* Camada 1: Background WebP */
.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/hero-bg.webp');
  background-size: cover;
  background-position: right center;
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.12);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.section-hero.hero-zoom-active::before {
  transform: scale(1);
}

/* Camada 2: Máscara Gradiente Escurecedora (Foco escuro na esquerda para o texto, transparência na direita) */
.section-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
                rgba(17, 20, 26, 0.98) 0%, 
                rgba(17, 20, 26, 0.92) 50%, 
                rgba(17, 20, 26, 0.5) 75%, 
                rgba(17, 20, 26, 0.2) 100%),
              linear-gradient(180deg, 
                rgba(17, 20, 26, 0.7) 0%, 
                transparent 30%, 
                transparent 70%, 
                rgba(17, 20, 26, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Camada 3: Texture Overlay */
.hero-glow {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, rgba(0,0,0,0) 70%);
  z-index: 3;
  pointer-events: none;
}

/* Camada 4: Conteúdo com Respiro Lateral */
.hero-container {
  position: relative;
  z-index: 4;
  pointer-events: auto;
  width: 100%;
  padding: 0 24px;
}

.hero-content-wrapper {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background-color: rgba(197, 160, 89, 0.14);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 50px;
  color: var(--brand-gold);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-bottom: 24px;
  color: var(--brand-white);
  text-align: left;
}
.hero-title .highlight-keyword {
  color: var(--brand-gold);
  font-weight: 600;
  font-style: italic;
}
.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.18rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  max-width: 780px;
  text-align: left;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}
.hero-actions .btn {
  padding: clamp(14px, 2.2vw, 16px) clamp(22px, 3vw, 32px);
  font-size: clamp(0.9rem, 1.3vw, 1.02rem);
}
.hero-sub-callouts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.callout-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.2px;
}
.callout-item svg {
  color: var(--brand-gold);
  flex-shrink: 0;
}
.callout-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

/* ==========================================================================
   SEÇÃO 2: SOBRE O ADVOGADO (#sobre)
   ========================================================================== */
#sobre {
  background-color: var(--brand-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
}
.about-image-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--brand-border);
}
.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}
.about-image-card:hover img {
  transform: scale(1.03);
}
.about-badge-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--brand-navy);
  color: var(--brand-white);
  padding: 20px 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--brand-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}
.about-badge-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-gold);
  display: block;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

.about-content h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--brand-navy);
}
.about-text {
  color: var(--brand-text-muted);
  margin-bottom: 24px;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  line-height: 1.7;
}
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-highlight-icon {
  color: var(--brand-gold);
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 2px;
}
.about-highlight-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
}
.about-highlight-desc {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-badge-experience {
    bottom: 10px;
    right: 10px;
  }
}
@media (max-width: 540px) {
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (#atuacao) - FULL WIDTH COLADO (CLAUDE STYLE)
   ========================================================================== */
/* ==========================================================================
   SEÇÃO 3: ÁREAS DE ATUAÇÃO (#atuacao) - MESMA COR DA HERO, 3x2 & CONTRASTE DARK
   ========================================================================== */
.services-section-fullwidth {
  padding: 100px 0;
  background-color: var(--brand-navy-dark);
  position: relative;
  overflow: hidden;
}
.section-title-light {
  color: var(--brand-white);
}
.services-header-container {
  margin-bottom: 56px;
}
.services-fullwidth-wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  background-color: transparent;
  border: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}
.services-grid .service-card {
  grid-column: span 1;
}
.services-grid .service-card:nth-child(5) {
  grid-column: 1 / span 2;
}

.service-card {
  background-color: var(--brand-graphite-card);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  height: 280px;
  position: relative;
  transition: transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              background-color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              box-shadow 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              border-color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 1;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.service-card:hover {
  background-color: #1E2738;
  border-color: var(--brand-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 160, 89, 0.18);
  z-index: 10;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(197, 160, 89, 0.12);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              background-color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              box-shadow 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.05);
  background-color: var(--brand-gold);
  color: #000000;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.3);
}
.service-title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 8px;
  line-height: 1.35;
  flex-shrink: 0;
}
.service-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.84rem, 1.1vw, 0.9rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 0;
  transition: opacity 0.6s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              transform 0.6s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.service-card:hover .service-desc {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}
.service-list {
  list-style: none;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  pointer-events: none;
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(197, 160, 89, 0.25);
  transition: opacity 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              filter 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.service-card:hover .service-list {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
}
.service-list li {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(3px);
  transition: opacity 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              filter 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.service-card:hover .service-list li {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.service-card:hover .service-list li:nth-child(1) { transition-delay: 0.1s; }
.service-card:hover .service-list li:nth-child(2) { transition-delay: 0.2s; }
.service-card:hover .service-list li:nth-child(3) { transition-delay: 0.3s; }

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid .service-card,
  .services-grid .service-card:nth-child(5) {
    grid-column: auto;
  }
  .service-card {
    height: auto;
  }
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.step-card {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  height: 210px;
  position: relative;
  transition: transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              box-shadow 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              border-color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              background-color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.step-card:hover {
  background-color: #FAF9F6;
  border-color: var(--brand-gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 25, 44, 0.08), 0 0 20px rgba(197, 160, 89, 0.12);
  justify-content: flex-start;
}
.step-card:hover::before {
  transform: scaleX(1);
}
.step-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  width: 100%;
  flex-shrink: 0;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-gold);
  line-height: 1;
  position: static;
  opacity: 0.95;
}
.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              background-color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              color 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.step-card:hover .step-icon {
  transform: scale(1.1);
  background-color: var(--brand-navy);
  color: var(--brand-gold);
}
.step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0;
  line-height: 1.35;
  flex-shrink: 0;
}
.step-desc {
  font-size: 0.88rem;
  color: var(--brand-text-muted);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  pointer-events: none;
  margin-top: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              transform 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              filter 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              margin-top 0.8s cubic-bezier(0.05, 0.7, 0.1, 1.0),
              height 0.85s cubic-bezier(0.05, 0.7, 0.1, 1.0);
}
.step-card:hover .step-desc {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
  margin-top: 10px;
  height: auto;
  transition-delay: 0.08s;
}

@media (hover: none), (max-width: 768px) {
  .service-card,
  .step-card {
    height: auto !important;
  }
  .service-desc {
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
  }
  .service-list,
  .step-desc {
    max-height: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    height: auto !important;
    overflow: visible !important;
  }
  .service-list li {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

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

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SEÇÃO 5: FAQ ACCORDION (#faq) - TEMA DARK DE ALTO CONTRASTE
   ========================================================================== */
.section-faq-dark {
  background-color: var(--brand-navy-dark);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background-color: var(--brand-graphite-card);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item.active,
.faq-item:hover {
  border-color: var(--brand-gold);
  background-color: #1E2738;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.faq-header {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.faq-question {
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--brand-white);
}
.faq-icon {
  font-size: 1.2rem;
  color: var(--brand-gold);
  transition: transform var(--transition-fast);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal);
}
.faq-item.active .faq-body {
  grid-template-rows: 1fr;
}
.faq-content {
  overflow: hidden;
}
.faq-inner {
  padding: 0 26px 22px 26px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  line-height: 1.65;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 4px;
  padding-top: 16px;
}

/* ==========================================================================
   SEÇÃO 6: CTA FINAL (#contato)
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-card);
  padding: clamp(36px, 6vw, 60px) clamp(20px, 4vw, 40px);
  text-align: center;
  color: var(--brand-white);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--brand-white);
}
.cta-desc {
  font-size: clamp(0.92rem, 1.4vw, 1.1rem);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
}
.section-cta-padding {
  padding: clamp(50px, 7vw, 100px) 0 clamp(60px, 8vw, 120px) 0;
  background-color: var(--brand-white);
}

/* ==========================================================================
   SEÇÃO 7: FOOTER MINIMALISTA (#footer) - ESPECIFICAÇÃO FOOTER.MD
   ========================================================================== */
.site-footer {
  background-color: var(--brand-navy-dark, #11141A);
  color: var(--brand-text-muted, #94A3B8);
  padding: 80px 24px 40px 24px;
  font-family: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links, .footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li, .footer-contact-info li {
  margin-bottom: 12px;
}

.footer-links a, .footer-contact-info a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s var(--ease-premium), transform 0.25s var(--ease-premium);
  display: inline-block;
}

.footer-links a:hover, .footer-contact-info a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-info span {
  color: inherit;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-divider {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 40px 0 28px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

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

.credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.25s ease;
}

.credit-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   SEÇÕES DO BLOG (INTEGRAÇÃO SPA SUPABASE)
   ========================================================================== */
#blog-secao, #artigo-secao {
  padding: 120px 24px 80px 24px;
  font-family: inherit;
  background-color: var(--brand-bg-light);
  min-height: 80vh;
}
.blog-container, .artigo-single-container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.blog-title-section {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  font-family: var(--font-serif);
  color: var(--brand-navy);
}
.blog-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  padding: 28px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.blog-card-date {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  display: block;
  margin-bottom: 12px;
}
.blog-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  color: var(--brand-navy);
}
.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--brand-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.blog-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-gold);
}

/* Artigo Layout & Sidebar Sticky */
.artigo-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start; /* Para funcionar position: sticky */
}
@media (max-width: 900px) {
  .artigo-layout {
    grid-template-columns: 1fr;
  }
}
.artigo-main {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  padding: 40px;
}
.btn-voltar {
  background: none;
  border: none;
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.artigo-main-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 20px;
  line-height: 1.25;
}
.artigo-divider {
  border: 0;
  height: 1px;
  background-color: var(--brand-border);
  margin-bottom: 32px;
}
.artigo-text-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--brand-text-dark);
}
.artigo-text-body p {
  margin-bottom: 20px;
}
.artigo-text-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 36px 0 16px 0;
}
.artigo-text-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 28px 0 12px 0;
}
.artigo-text-body blockquote {
  border-left: 3px solid var(--brand-gold);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--brand-text-muted);
}

.artigo-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background-color: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-card);
  padding: 24px;
}
.autor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid var(--brand-gold);
}
.autor-avatar--fallback {
  background-color: var(--brand-navy);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
}
.autor-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-text-muted);
  display: block;
}
.autor-nome {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-navy);
  display: block;
  margin-bottom: 4px;
}
.autor-cargo {
  font-size: 0.85rem;
  color: var(--brand-gold);
  display: block;
  margin-bottom: 12px;
}
.autor-bio {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
  line-height: 1.5;
}
.sidebar-divider {
  border: 0;
  height: 1px;
  background-color: var(--brand-border);
  margin: 16px 0;
}
.sidebar-date {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
}
.sidebar-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--brand-navy);
  margin-bottom: 16px;
}
.sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-post-item {
  text-decoration: none;
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--brand-border);
}
.sidebar-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-navy);
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
}
.sidebar-post-title:hover {
  color: var(--brand-gold);
}
.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--brand-text-muted);
}

/* ==========================================================================
   WIDGET DE WHATSAPP INTELIGENTE (BOTAOZAP.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;
  transition: opacity 0.5s var(--ease-premium);
}
.whatsapp-widget.widget-visible {
  opacity: 1;
  pointer-events: none; /* Proteção contra captura de cliques */
}

/* Botão Circular 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.2);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  will-change: transform;
  pointer-events: auto;
}
.whatsapp-svg-icon {
  fill: #FFFFFF;
  width: 28px;
  height: 28px;
}
@media (hover: hover) and (pointer: fine) {
  .whatsapp-trigger-btn:hover {
    transform: scale(1.05);
    background-color: #128C7E;
  }
}

/* Tooltip de Inatividade */
.whatsapp-tooltip {
  background-color: var(--brand-navy);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #FFFFFF;
  padding: 0 18px 0 14px;
  border-radius: 6px;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), max-height 0.3s var(--ease-premium), padding 0.3s var(--ease-premium), margin-bottom 0.3s var(--ease-premium), visibility 0.3s;
}
.whatsapp-tooltip.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 80px;
  padding: 12px 18px 12px 14px;
  margin-bottom: 12px;
  transform: translateY(0) scale(1);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 25px;
  width: 10px;
  height: 10px;
  background-color: var(--brand-navy);
  border-right: 1px solid rgba(197, 160, 89, 0.3);
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  transform: rotate(45deg);
}
.close-tooltip-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 12px;
  margin: -12px -12px -12px 0;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}
.close-tooltip-btn:hover {
  color: var(--brand-gold);
}

/* Painel de Chat Simulado */
.whatsapp-chat-panel {
  width: 320px;
  background-color: var(--brand-white);
  border: 1px solid rgba(13, 35, 66, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), max-height 0.3s var(--ease-premium), margin-bottom 0.3s var(--ease-premium), visibility 0.3s;
}
.whatsapp-chat-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  max-height: 500px;
  margin-bottom: 16px;
  transform: translateY(0) scale(1);
}

.chat-header {
  background-color: var(--brand-navy);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brand-gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.chat-header-info {
  display: flex;
  flex-direction: column;
}
.chat-header-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
}
.chat-header-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.chat-messages-container {
  padding: 16px;
  max-height: 340px;
  min-height: 0; /* Crítico: Prevenção contra Flexbox Scroll Collapse */
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: #F4F6F9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.chat-bubble {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 85%;
  word-wrap: break-word;
  flex-shrink: 0; /* Crítico: Prevenção contra Flexbox Scroll Collapse */
}
.chat-bubble.received {
  background-color: var(--brand-white);
  color: var(--brand-text-dark);
  align-self: flex-start;
  border-top-left-radius: 2px;
  border: 1px solid rgba(13, 35, 66, 0.05);
}
.chat-bubble.sent {
  background-color: rgba(197, 160, 89, 0.12);
  color: var(--brand-navy);
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.chat-faq-options {
  display: flex;
  flex-direction: column;
  flex-shrink: 0; /* Crítico */
  gap: 8px;
  margin-top: 8px;
  opacity: 1;
  max-height: 300px;
  transition: opacity 0.3s var(--ease-premium), max-height 0.3s var(--ease-premium), margin-top 0.3s var(--ease-premium);
  overflow: hidden;
}
.chat-faq-options.hidden {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  pointer-events: none;
}
.chat-faq-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brand-text-dark);
  opacity: 0.6;
  margin-bottom: 2px;
}
.chat-faq-opt {
  background-color: var(--brand-white);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--brand-navy);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  min-height: 48px;
  display: flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .chat-faq-opt:hover {
    background-color: rgba(197, 160, 89, 0.05);
    border-color: var(--brand-gold);
  }
}

.chat-footer {
  padding: 12px;
  background-color: var(--brand-white);
  border-top: 1px solid rgba(13, 35, 66, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}
.chat-direct-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (hover: hover) and (pointer: fine) {
  .chat-direct-link:hover {
    color: var(--brand-navy);
  }
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px 0;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--brand-navy);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
  opacity: 0.4;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}

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

/* ==========================================================================
   STICKY BAR MOBILE (MOBILE.MD)
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: transparent; /* 100% Transparente */
  padding: 12px 16px 20px 16px;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
}
.mobile-sticky-bar.sticky-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
}
.mobile-sticky-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: var(--brand-navy);
  color: var(--brand-white);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--brand-gold);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

/* ==========================================================================
   ANIMAÇÃO DE SCROLL BIDIRECIONAL (IDA E VOLTA)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.0s var(--ease-premium), transform 1.0s var(--ease-premium);
  will-change: opacity, transform;
}
.scroll-reveal.scroll-reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito Cascata (Stagger Line-by-Line Entrada) */
.stagger-cascade > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-active .stagger-cascade > *,
.scroll-reveal-active.stagger-cascade > * {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-active .stagger-cascade > *:nth-child(1),
.scroll-reveal-active.stagger-cascade > *:nth-child(1) { transition-delay: 0.10s; }

.scroll-reveal-active .stagger-cascade > *:nth-child(2),
.scroll-reveal-active.stagger-cascade > *:nth-child(2) { transition-delay: 0.22s; }

.scroll-reveal-active .stagger-cascade > *:nth-child(3),
.scroll-reveal-active.stagger-cascade > *:nth-child(3) { transition-delay: 0.34s; }

.scroll-reveal-active .stagger-cascade > *:nth-child(4),
.scroll-reveal-active.stagger-cascade > *:nth-child(4) { transition-delay: 0.46s; }

.scroll-reveal-active .stagger-cascade > *:nth-child(5),
.scroll-reveal-active.stagger-cascade > *:nth-child(5) { transition-delay: 0.58s; }

.scroll-reveal-active .stagger-cascade > *:nth-child(6),
.scroll-reveal-active.stagger-cascade > *:nth-child(6) { transition-delay: 0.70s; }

/* Stagger específico para botões dentro da hero */
.hero-actions .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.scroll-reveal-active .hero-actions .btn:nth-child(1) { transition-delay: 0.46s; }
.scroll-reveal-active .hero-actions .btn:nth-child(2) { transition-delay: 0.58s; }

/* ==========================================================================
   AJUSTES RESPONSIVOS DE PRECISÃO (DISPOSITIVOS MÓVEIS & TELAS PEQUENAS)
   ========================================================================== */
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .cta-box .btn {
    width: 100%;
    padding: 14px 20px !important;
  }
  .hero-badge {
    margin-bottom: 20px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .hero-sub-callouts {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .callout-dot {
    display: none;
  }
  .whatsapp-chat-panel {
    width: calc(100vw - 32px);
  }
}
