/*
Theme Name: Astra Emes
Description: Tema filho do Astra para Emes Advocacia
Author: Emes Advocacia
Template: astra
Version: 1.0.0
Text Domain: astra-emes
*/

/* ========================================
   IMPORTAÇÃO DO TEMA PAI
======================================== */
@import url("../astra/style.css");

/* ========================================
   GOOGLE FONTS
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700;900&display=swap');

/* ========================================
   SISTEMA DE TEXTURAS ARISTOCRÁTICAS (NÃO-INTRUSIVO)
======================================== */

/* Aplicação da textura ao background geral da página */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./assets/textura.png');
  background-size: 300px 300px;
  background-repeat: repeat;
  background-position: 0 0;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

/* Classe para uso manual - versão não-intrusiva */
.texture-bg {
  background-image: 
    url('./assets/textura.png'),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
  background-size: 200px 200px, cover;
  background-repeat: repeat, no-repeat;
  background-position: 0 0, center;
  background-blend-mode: multiply, normal;
}

/* Variações de intensidade */
.texture-bg.texture-light {
  background-image: 
    url('./assets/textura.png'),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
}

.texture-bg.texture-strong {
  background-image: 
    url('./assets/textura.png'),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
}

/* Para blocos com cores de fundo específicas */
.texture-bg.texture-dark {
  background-image: 
    url('./assets/textura.png'),
    linear-gradient(135deg, rgba(53, 66, 74, 0.95) 0%, rgba(83, 104, 120, 0.95) 100%);
  color: #ffffff;
}

/* Aplicação em covers sem quebrar a estrutura */
.wp-block-cover.texture-bg {
  background-blend-mode: multiply, overlay;
}

/* Hover suave sem transformações que quebram layout */
.texture-bg:hover {
  background-size: 190px 190px, cover;
  transition: background-size 0.3s ease;
}

/* ========================================
   GUIA DE USO DO SISTEMA DE TEXTURAS (VERSÃO CORRIGIDA)
======================================== */
/*
  CLASSES DISPONÍVEIS PARA BLOCOS GUTENBERG (NÃO-INTRUSIVAS):
  
  1. .texture-bg - Aplica textura de fundo sem quebrar formatação
     Exemplo: <div class="wp-block-group texture-bg">
  
  2. .texture-bg.texture-light - Textura muito sutil
     Exemplo: <div class="wp-block-group texture-bg texture-light">
  
  3. .texture-bg.texture-strong - Textura mais visível
     Exemplo: <div class="wp-block-group texture-bg texture-strong">
  
  4. .texture-bg.texture-dark - Para fundos escuros (inclui cor branca)
     Exemplo: <div class="wp-block-group texture-bg texture-dark">
  
  APLICAÇÃO AUTOMÁTICA:
  - Background geral da página: Textura sutil (opacidade 0.15)
  - Cards info-box: Textura integrada ao background sem position/z-index
  
  CARACTERÍSTICAS:
  - Não altera position, z-index ou overflow dos elementos
  - Usa background-image múltiplas para máxima compatibilidade
  - Efeito hover apenas altera background-size
  - Totalmente compatível com todos os blocos Gutenberg
*/

/* ============ TIPOGRAFIA MELHORADA ============ */
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  font-size: 16px;
  letter-spacing: 0.3px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0 !important;
  padding: 0 !important;
}

/* Header aristocrático e minimalista */
.site-header {
  margin-bottom: 0 !important;
  position: relative !important;
  z-index: 9999 !important;
  /* Cores antigas: background: linear-gradient(135deg, #35424a 0%, #536878 100%) !important; */
  background: linear-gradient(135deg, #35424a 0%, #536878 100%) !important;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 1px 20px rgba(26, 26, 26, 0.15);
  min-height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  position: relative;
  backdrop-filter: blur(2px);
  overflow: hidden;
}

/* Header com transições fluidas */
.site-header {
  --sticky-progress: 0;
  --logo-transition: 0;
}

/* ============ SISTEMA DE LOGOS DUPLAS - MESMO TAMANHO ============ */
.site-branding {
  position: relative;
  display: flex;
  align-items: center;
}

/* Logo original - sempre no mesmo tamanho */
.site-header .custom-logo {
  max-height: 60px;
  width: auto;
  transition: none;
  opacity: calc(1 - var(--sticky-progress));
  position: relative;
  z-index: 2;
}

/* Logo compacta - mesmo tamanho da original */
.site-header .logo-compact {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  max-height: 60px;
  width: auto;
  opacity: var(--sticky-progress);
  transition: none;
  z-index: 1;
}

/* Título do site também mantém proporções */
.site-header .site-title a {
  font-size: 1.5rem !important;
  transition: none;
}

/* Fallback quando não há sticky */
.site-header:not(.sticky-header) .custom-logo {
  opacity: 1;
}

.site-header:not(.sticky-header) .logo-compact {
  opacity: 0;
}

/* Header Sticky */
.site-header.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999 !important;
  backdrop-filter: blur(calc(5px + (10px * var(--sticky-progress))));
  -webkit-backdrop-filter: blur(calc(5px + (10px * var(--sticky-progress))));
  background: linear-gradient(135deg, 
    rgba(53, 66, 74, calc(0.5 + (0.45 * var(--sticky-progress)))) 0%, 
    rgba(83, 104, 120, calc(0.5 + (0.45 * var(--sticky-progress)))) 100%) !important;
  box-shadow: 0 calc(2px + (6px * var(--sticky-progress))) calc(10px + (15px * var(--sticky-progress))) rgba(0, 0, 0, calc(0.1 + (0.1 * var(--sticky-progress))));
  border-bottom: 1px solid rgba(255, 255, 255, calc(0.05 + (0.05 * var(--sticky-progress))));
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header diminuído */
.site-header.header-shrink {
  min-height: calc(80px - (15px * var(--sticky-progress)));
  padding: calc(0px + (3px * var(--sticky-progress))) 0;
}

.site-header.header-shrink .logo-container {
  min-height: calc(60px - (15px * var(--sticky-progress)));
}

/* Menu com ajuste fluido */
.site-header.sticky-header .main-header-menu a {
  padding: calc(8px - (2px * var(--sticky-progress))) calc(16px - (4px * var(--sticky-progress)));
  font-size: calc(1rem - (0.1rem * var(--sticky-progress)));
  transition: none;
}

/* Fallback para quando não há sticky */
.site-header:not(.sticky-header) .custom-logo {
  max-height: 60px;
  transform: scale(1);
}

.site-header:not(.sticky-header) .site-title a {
  font-size: 1.5rem !important;
}

/* Ajuste do corpo quando header é sticky */
body.has-sticky-header {
  padding-top: 0;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header:hover::before {
  left: 100%;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
}

.site-header:hover::after {
  width: 80%;
}

.ast-header-break-point .site-header {
  margin-bottom: 0 !important;
  /* Cores antigas: background: linear-gradient(135deg, #35424a 0%, #536878 100%) !important; */
  background: linear-gradient(135deg, #536878 0%, #35424a 100%) !important;
}

/* Remove espaços do container principal */
.site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Garante que o header seja sempre visível */
.site-header {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Suaviza a transição do header */
.site-header * {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Menu aristocrático com transições refinadas */
.main-header-menu a,
.site-title a {
  color: #ffffff !important;
  font-weight: 500;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  padding: 8px 16px;
  border-radius: 4px;
  overflow: hidden;
}

.main-header-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.main-header-menu a:hover::before {
  left: 0;
}

.main-header-menu a:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Garante que todos os elementos do header usem as cores da paleta */
.site-header .site-description,
.site-header .ast-site-identity p,
.site-header .ast-site-identity span,
.site-header .menu-item a,
.site-header .ast-search-icon,
.site-header .ast-mobile-menu-toggle-icon {
  color: #ffffff !important;
}

.site-title a {
  color: #ffffff !important;
  font-weight: 600;
}

.site-title a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Ícones do menu mobile */
.ast-header-break-point .ast-button-wrap .menu-toggle {
  color: #ffffff !important;
}

.ast-header-break-point .ast-button-wrap .menu-toggle:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 1.2em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* ============ HERO SECTION ARISTOCRÁTICO ============ */
.uagb-block-fe83ce66 {
  background-image: 
    linear-gradient(135deg, rgba(26, 26, 26, var(--overlay-opacity, 0.4)) 0%, rgba(0, 0, 0, var(--overlay-opacity, 0.6)) 100%),
    url('http://emesadvocacia.local/wp-content/uploads/2025/06/6d0dc89d-e0cf-45de-8a39-e7a324c238b5-edited.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 20px;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  will-change: opacity, filter, transform;
}

.uagb-block-fe83ce66::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.1s ease-out;
  z-index: 1;
  pointer-events: none;
}

.uagb-block-fe83ce66 .uagb-container-inner-blocks-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.uagb-block-fe83ce66 h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  /* Animação removida para máquina de escrever: animation: aristocraticFadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
  letter-spacing: -0.02em;
  min-height: 1.2em;
  line-height: 1.2;
  opacity: 1;
}

.uagb-block-fe83ce66 p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #f8f9fa;
  margin-bottom: 35px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  /* animation: aristocraticFadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both; */
  font-weight: 300;
}

@keyframes aristocraticFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Animação legacy mantida para compatibilidade */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ BOTÕES ARISTOCRÁTICOS ============ */
.wp-block-button__link, .uagb-button__link {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: none;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  text-decoration: none !important;
  display: inline-block;
  /* animation: aristocraticFadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both; */
}

.wp-block-button__link::before, .uagb-button__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.wp-block-button__link:hover, .uagb-button__link:hover {
  background: #35424a;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
  color: #fff;
  box-shadow: 0 8px 30px rgba(53, 66, 74, 0.4);
  letter-spacing: 0.8px;
}

.wp-block-button__link:hover::before, .uagb-button__link:hover::before {
  left: 100%;
}

/* ============ CARDS ARISTOCRÁTICOS COM TEXTURA SUTIL ============ */
.uagb-info-box__content-wrap {
  border: none;
  padding: 35px 30px;
  border-radius: 12px;
  background: 
    url('./assets/textura.png'),
    linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  background-size: 150px 150px, cover;
  background-repeat: repeat, no-repeat;
  background-position: 0 0, center;
  background-blend-mode: multiply, normal;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  opacity: 1;
  transform: translateY(0) scale(1);
  /* animation: aristocraticCardEntry 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; */
}

/* Delays de animação removidos
.uagb-info-box__content-wrap:nth-child(1) { animation-delay: 0.1s; }
.uagb-info-box__content-wrap:nth-child(2) { animation-delay: 0.2s; }
.uagb-info-box__content-wrap:nth-child(3) { animation-delay: 0.3s; }
.uagb-info-box__content-wrap:nth-child(4) { animation-delay: 0.4s; }
.uagb-info-box__content-wrap:nth-child(5) { animation-delay: 0.5s; }
.uagb-info-box__content-wrap:nth-child(6) { animation-delay: 0.6s; }
*/

@keyframes aristocraticCardEntry {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animação legacy mantida para compatibilidade */
@keyframes fadeInUpCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uagb-info-box__content-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  /* Cores antigas: background: linear-gradient(90deg, #006D5B, #35424a, #006D5B); */
  background: linear-gradient(90deg, #35424a, #536878, #35424a);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}

.uagb-info-box__content-wrap:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border-radius: 16px;
  background-size: 140px 140px, cover;
}

.uagb-info-box__content-wrap:hover::before {
  transform: scaleX(1);
}

/* ============ ÍCONES ANIMADOS COM ACENTO VERDE ============ */
.uagb-counter__icon svg, .uagb-info-box__icon svg {
  height: 50px;
  width: 50px;
  /* Cor antiga: fill: #536878; */
  fill: #35424a;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.uagb-info-box__content-wrap:hover .uagb-info-box__icon svg,
.uagb-counter__icon svg:hover {
  transform: scale(1.15) rotate(8deg);
  fill: #536878;
  filter: drop-shadow(0 3px 8px rgba(83, 111, 120, 0.4));
}

/* ============ TÍTULOS DAS SEÇÕES COM ACENTOS ============ */
.uagb-info-box__title, .uagb-counter__title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  font-size: 1.4rem;
  position: relative;
}

.uagb-info-box__title::after, .uagb-counter__title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 3px;
  /* Cores antigas: background: linear-gradient(90deg, #006D5B, #35424a); */
  background: linear-gradient(90deg, #35424a, #536878);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.uagb-info-box__content-wrap:hover .uagb-info-box__title::after {
  width: 60px;
}

/* ============ RODAPÉ COM PALETA SIMPLIFICADA ============ */
.site-footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 60px 0 30px;
  position: relative;
  z-index: 30;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  /* Cores antigas: background: linear-gradient(90deg, transparent, #006D5B, #35424a, #006D5B, transparent); */
  background: linear-gradient(90deg, transparent, #35424a, #536878, #35424a, transparent);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.site-footer a:hover {
  color: #536878;
  text-decoration: none;
}

.site-footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  /* Cores antigas: background: linear-gradient(90deg, #006D5B, #35424a); */
  background: linear-gradient(90deg, #35424a, #536878);
  transition: width 0.3s ease;
}

.site-footer a:hover::after {
  width: 100%;
}

/* ============ ANIMAÇÕES DE SCROLL ============ */
[data-animate] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* ============ ANIMAÇÕES SUTIS DA HOME ============ */
/* Animação para títulos de seção */
.wp-block-heading,
.uagb-heading-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpTitle 1s ease-out forwards;
}

@keyframes fadeInUpTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax sutil nos containers */
.wp-block-group,
.uagb-container {
  transition: transform 0.3s ease-out;
}

.wp-block-group:hover,
.uagb-container:hover {
  transform: translateZ(0) scale(1.01);
}

/* Animação de float para ícones */
.uagb-counter__icon,
.uagb-info-box__icon {
  animation: float 6s ease-in-out infinite;
}

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

/* Efeito de shimmer com paleta simplificada nos títulos principais */
.uagb-heading-text h1,
.uagb-heading-text h2 {
  /* Cores antigas: background: linear-gradient(90deg, #1a1a1a 25%, #006D5B 50%, #35424a 65%, #1a1a1a 75%); */
  background: linear-gradient(90deg, #1a1a1a 25%, #35424a 50%, #536878 65%, #1a1a1a 75%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Micro animações nos textos */
.wp-block-paragraph {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInText 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito de ondulação no scroll */
.uagb-block-fe83ce66 {
  position: relative;
}

.uagb-block-fe83ce66::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ============ BOTÃO WHATSAPP FLUTUANTE ============ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-main-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #35424a 0%, #536878 50%, #1a1a1a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(53, 66, 74, 0.5);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(53, 66, 74, 0.3);
}

.whatsapp-main-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.whatsapp-main-btn:hover::before {
  width: 100%;
  height: 100%;
}

.whatsapp-main-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(83, 111, 120, 0.6);
}

.whatsapp-main-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
  z-index: 1;
  position: relative;
}

.whatsapp-main-btn img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
  position: relative;
}

.whatsapp-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.whatsapp-options.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  
}

.whatsapp-option {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(35, 66, 74, 0.1);
  border-radius: 25px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.whatsapp-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
  transition: left 0.5s ease;
}

.whatsapp-option:hover::before {
  left: 100%;
}

.whatsapp-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: #536878;
}

.whatsapp-option .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* Cores antigas: background: linear-gradient(135deg, #006D5B 0%, #35424a 50%, #536878 100%); */
  background: linear-gradient(135deg, #35424a 0%, #536878 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 12px;
  border: 2px solid rgba(53, 66, 74, 0.3);
}

.whatsapp-option .info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.whatsapp-option .name {
  font-weight: 600;
  color: #1a1a1a;
}

.whatsapp-option .title {
  font-size: 11px;
  /* Cor antiga: color: #536878; */
  color: #35424a;
}

/* Animação de pulse para chamar atenção */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(83, 111, 120, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(83, 111, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(83, 111, 120, 0); }
}

.whatsapp-main-btn.pulse {
  animation: pulse 2s infinite;
}

/* ============ RESPONSIVIDADE APRIMORADA ============ */
@media (max-width: 768px) {
  .uagb-block-fe83ce66 {
    padding: 40px 15px;
    background-attachment: scroll;
    height: 100vh;
    min-height: 100vh;
  }
  
  .site-header {
    min-height: 70px;
  }
  
  .uagb-info-box__content-wrap {
    padding: 25px 20px;
  }
  
  .wp-block-button__link, .uagb-button__link {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
  
  /* WhatsApp responsivo */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-main-btn {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-main-btn svg {
    width: 24px;
    height: 24px;
  }
  
  .whatsapp-option {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .whatsapp-option .avatar {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .whatsapp-option .info {
    display: none;
  }
  
  .whatsapp-option {
    padding: 10px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
}

/* ============ MELHORIAS GERAIS ============ */
* {
  box-sizing: border-box;
}

/* Reset completo para garantir hero no topo */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

#page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ast-desktop .site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ast-mobile-header-wrap {
  margin-bottom: 0 !important;
}

/* Hero ocupa toda a tela sem compensações */
.uagb-block-fe83ce66:first-child {
  margin-top: 0 !important;
  padding-top: 60px !important;
}

::selection {
  /* Cores antigas: background: linear-gradient(135deg, #006D5B, #35424a); */
  background: linear-gradient(135deg, #35424a, #536878);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #35424a, #536878);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #536878, #35424a);
}

/* ============ MICROINTERAÇÕES ============ */
.uagb-container {
  transition: all 0.3s ease;
}

.uagb-container:hover {
  transform: translateZ(0);
}

/* Links com efeito underline elegante com paleta simplificada */
a:not(.wp-block-button__link):not(.uagb-button__link) {
  position: relative;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

a:not(.wp-block-button__link):not(.uagb-button__link):hover {
  border-bottom-color: #536878;
  color: #536878;
}

/* ============ ANIMAÇÃO DE MÁQUINA DE ESCREVER ============ */

/* Cursor piscante da máquina de escrever */
.typewriter-cursor {
  display: inline-block;
  color: #fff;
  font-weight: 400;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Ajustes para o título com máquina de escrever */
.uagb-block-fe83ce66 h1.typewriter-active {
  position: relative;
  overflow: visible;
  animation: none !important;
}

/* ============ TRANSIÇÕES ARISTOCRÁTICAS ENTRE SEÇÕES ============ */

/* Transições suaves para todas as seções */
.wp-block-group, .uagb-section__wrap, .ast-container {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efeito de entrada refinado para seções */
.aristocratic-section-enter {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(1px);
}

.aristocratic-section-enter.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Animação de transição do hero personalizada */
.hero-transition-out {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(3px);
  pointer-events: none;
}

/* Header no estado scrolled */
.site-header.scrolled {
  background: linear-gradient(135deg, rgba(53, 66, 74, 0.95) 0%, rgba(83, 111, 120, 0.95) 100%) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(26, 26, 26, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efeito de parallax refinado para fundos */
.parallax-aristocratic {
  transform: translateZ(0);
  will-change: transform;
}

/* Animações de micro-interação */
.aristocratic-hover {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aristocratic-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ========================================
   BOTÕES PERSONALIZADOS - ANIMAÇÕES SUTIS
   Estilos aristocráticos para todos os botões
======================================== */

/* Botão específico do Hero para garantir consistência */
.uagb-block-fe83ce66 .wp-block-button__link,
.uagb-block-fe83ce66 .uagb-button__link {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.uagb-block-fe83ce66 .wp-block-button__link::before,
.uagb-block-fe83ce66 .uagb-button__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.uagb-block-fe83ce66 .wp-block-button__link:hover,
.uagb-block-fe83ce66 .uagb-button__link:hover {
  background: #35424a !important;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
  color: #fff !important;
  box-shadow: 0 8px 30px rgba(53, 66, 74, 0.4);
  letter-spacing: 0.8px;
}

.uagb-block-fe83ce66 .wp-block-button__link:hover::before,
.uagb-block-fe83ce66 .uagb-button__link:hover::before {
  left: 100%;
}

/* Botões padrão do WordPress e formulários */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.btn,
.wp-element-button,
.wp-block-search__button,
.search-form input[type="submit"] {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.3);
  text-decoration: none;
  display: inline-block;
}

/* Efeito de shimmer sutil */
button::before,
input[type="button"]::before,
input[type="submit"]::before,
input[type="reset"]::before,
.button::before,
.btn::before,
.wp-element-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

/* Hover state sutil - EXCLUINDO botões com animação líquida */
button:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
input[type="button"]:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
input[type="submit"]:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
input[type="reset"]:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
.button:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
.btn:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
.wp-element-button:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
.wp-block-search__button:hover:not(.liquid-fill-down):not(.liquid-fill-up-right),
.search-form input[type="submit"]:hover:not(.liquid-fill-down):not(.liquid-fill-up-right) {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.4px;
}

button:hover::before:not(.liquid-fill-down):not(.liquid-fill-up-right),
input[type="button"]:hover::before:not(.liquid-fill-down):not(.liquid-fill-up-right),
input[type="submit"]:hover::before:not(.liquid-fill-down):not(.liquid-fill-up-right),
input[type="reset"]:hover::before:not(.liquid-fill-down):not(.liquid-fill-up-right),
.button:hover::before:not(.liquid-fill-down):not(.liquid-fill-up-right),
.btn:hover::before:not(.liquid-fill-down):not(.liquid-fill-up-right),
.wp-element-button:hover::before:not(.liquid-fill-down):not(.liquid-fill-up-right) {
  left: 100%;
}

/* Botões de ação específicos */
.wp-block-file__button,
.wp-block-search__button {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wp-block-file__button:hover,
.wp-block-search__button:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Botões de navegação */
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous,
.wp-block-post-navigation-link,
.navigation a,
.page-numbers {
  color: #536878;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}

.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-post-navigation-link:hover,
.navigation a:hover,
.page-numbers:hover,
.page-numbers.current {
  background: #35424a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(53, 66, 74, 0.2);
  border-color: #35424a;
}

/* Botões sociais e específicos do tema */
.social-link a,
.wp-block-social-link a {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 6px;
}

.social-link a:hover,
.wp-block-social-link a:hover {
  background: #35424a !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(53, 66, 74, 0.3);
}

/* Botões de comentários */
.comment-reply-link,
.comment-form input[type="submit"] {
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.comment-reply-link:hover,
.comment-form input[type="submit"]:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(26, 26, 26, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Animação de pulse sutil para botões importantes */
@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(53, 66, 74, 0.2);
  }
  50% {
    box-shadow: 0 4px 16px rgba(53, 66, 74, 0.3);
  }
}

/* Aplicar pulse em botões de call-to-action */
.wp-block-button.is-style-outline .wp-block-button__link,
.cta-button,
.primary-button {
  animation: subtlePulse 3s ease-in-out infinite;
}

/* Melhorias para botões em mobile */
@media (max-width: 768px) {
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .button,
  .btn,
  .wp-element-button {
    padding: 14px 24px;
    font-size: 16px; /* Evita zoom no iOS */
    min-height: 44px; /* Padrão de acessibilidade para touch */
  }
}

/* ========================================
   PERSONALIZAÇÕES DO TEMA FILHO
   Adicione seus estilos personalizados aqui
======================================== */
/* Cache busted: 11/01/2025 - Botões atualizados para #1a1a1a com hover sutil */

/* ========================================
   PÁGINA SOBRE NÓS - SISTEMA DE TABS
   Sistema de perfis dos advogados
======================================== */

/* ============ CONTAINER DOS TABS ============ */
.lawyer-tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(53, 66, 74, 0.08);
  position: relative;
  overflow: hidden;
}

.lawyer-tabs-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #35424a, #536878, #35424a);
  transition: all 0.3s ease;
}

/* ============ NAVEGAÇÃO DOS TABS ============ */
.lawyer-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  background: rgba(53, 66, 74, 0.05);
  border-radius: 12px;
  padding: 8px;
  position: relative;
}

.lawyer-tab {
  flex: 1;
  max-width: 300px;
  background: transparent;
  border: none;
  padding: 16px 32px;
  font-family: 'Merriweather', serif;
  font-size: 16px;
  font-weight: 600;
  color: #536878;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.lawyer-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.lawyer-tab:hover,
.lawyer-tab.active {
  background: linear-gradient(135deg, #35424a 0%, #536878 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(53, 66, 74, 0.3);
}

.lawyer-tab:hover::before,
.lawyer-tab.active::before {
  left: 100%;
}

/* ============ CONTEÚDO DOS TABS ============ */
.lawyer-tabs-content {
  position: relative;
  min-height: 600px;
}

.lawyer-profile {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lawyer-profile.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: aristocraticFadeIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes aristocraticFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ============ GRID DE INFORMAÇÕES DO ADVOGADO ============ */
.lawyer-info-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

/* ============ FOTO DO ADVOGADO ============ */
.lawyer-photo {
  position: relative;
}

.lawyer-photo-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  background: linear-gradient(135deg, #35424a 0%, #536878 100%);
  box-shadow: 0 8px 30px rgba(53, 66, 74, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.lawyer-photo-placeholder:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 40px rgba(53, 66, 74, 0.4);
}

.lawyer-photo-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ============ DETALHES DO ADVOGADO ============ */
.lawyer-details h3 {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #1a1a1a 25%, #35424a 50%, #536878 65%, #1a1a1a 75%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: subtleShimmer 4s ease-in-out infinite;
}

.lawyer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #35424a;
  margin-bottom: 8px;
  display: block;
}

.lawyer-specialties {
  font-size: 1rem;
  color: #536878;
  font-style: italic;
  margin-bottom: 25px;
  display: block;
}

.lawyer-description {
  margin-bottom: 30px;
}

.lawyer-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 15px;
  text-align: justify;
}

/* ============ CURRÍCULO DO ADVOGADO ============ */
.lawyer-curriculum {
  background: rgba(53, 66, 74, 0.03);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #35424a;
  margin-top: 25px;
}

.lawyer-curriculum h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #35424a;
  margin-bottom: 15px;
  margin-top: 25px;
  position: relative;
}

.lawyer-curriculum h4:first-child {
  margin-top: 0;
}

.lawyer-curriculum h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #35424a, #536878);
  border-radius: 1px;
}

.lawyer-curriculum ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lawyer-curriculum li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(53, 66, 74, 0.1);
  transition: all 0.3s ease;
}

.lawyer-curriculum li:last-child {
  border-bottom: none;
}

.lawyer-curriculum li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #536878;
  font-weight: bold;
  font-size: 16px;
}

.lawyer-curriculum li:hover {
  padding-left: 25px;
  color: #35424a;
  background: rgba(53, 66, 74, 0.05);
}

/* ============ RESPONSIVIDADE DO SISTEMA DE TABS ============ */
@media (max-width: 1024px) {
  .lawyer-info-grid {
    grid-template-columns: 250px 1fr;
    gap: 30px;
  }
  
  .lawyer-photo-placeholder {
    width: 200px;
    height: 200px;
  }
  
  .lawyer-details h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .lawyer-tabs-container {
    padding: 25px 20px;
  }
  
  .lawyer-tabs-nav {
    flex-direction: column;
    gap: 8px;
  }
  
  .lawyer-tab {
    max-width: none;
    text-align: center;
  }
  
  .lawyer-info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }
  
  .lawyer-photo {
    justify-self: center;
  }
  
  .lawyer-photo-placeholder {
    width: 180px;
    height: 180px;
  }
  
  .lawyer-details h3 {
    font-size: 1.6rem;
  }
  
  .lawyer-curriculum {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .lawyer-tabs-container {
    padding: 20px 15px;
  }
  
  .lawyer-photo-placeholder {
    width: 150px;
    height: 150px;
  }
  
  .lawyer-details h3 {
    font-size: 1.4rem;
  }
  
  .lawyer-curriculum {
    padding: 20px 15px;
  }
}

/* ============ EFEITOS ESPECIAIS ============ */
.lawyer-tabs-container:hover::before {
  background: linear-gradient(90deg, #536878, #35424a, #536878);
}

/* Efeito de destaque no tab ativo */
.lawyer-tab.active {
  position: relative;
}

.lawyer-tab.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #35424a;
  transform: translateX(-50%);
}

/* Animação sutil para os elementos do currículo */
.lawyer-curriculum li {
  opacity: 0;
  transform: translateX(-10px);
  animation: slideInLeft 0.4s ease forwards;
}

.lawyer-curriculum li:nth-child(1) { animation-delay: 0.1s; }
.lawyer-curriculum li:nth-child(2) { animation-delay: 0.15s; }
.lawyer-curriculum li:nth-child(3) { animation-delay: 0.2s; }
.lawyer-curriculum li:nth-child(4) { animation-delay: 0.25s; }
.lawyer-curriculum li:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   MENUS EDITÁVEIS - HEADER E FOOTER
   Sistema completo de navegação personalizável
======================================== */

/* ============ HEADER PERSONALIZADO ============ */
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 80px;
  gap: 30px;
}

.site-branding {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-title a {
  color: #ffffff !important;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-title a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-1px);
}

.site-description {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 300;
}

/* ============ MENU PRINCIPAL ============ */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu-container {
  display: flex;
  align-items: center;
}

.main-header-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.main-header-menu li {
  position: relative;
}

.main-header-menu a {
  color: #ffffff !important;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: block;
}

.main-header-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.main-header-menu a:hover::before {
  left: 0;
}

.main-header-menu a:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============ MENU SECUNDÁRIO ============ */
.secondary-navigation {
  flex-shrink: 0;
}

.secondary-header-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3px;
}

.secondary-header-menu a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.secondary-header-menu a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1);
}

/* ============ MENU MOBILE ============ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ============ FOOTER PERSONALIZADO ============ */
.site-footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px;
  position: relative;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #333333, #666666, #333333, transparent);
}

/* ============ GRID DO FOOTER ============ */
.footer-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-title {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #666666, #999999);
  border-radius: 1px;
}

/* ============ INFORMAÇÕES DA EMPRESA ============ */
.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.footer-address,
.footer-phone,
.footer-email,
.footer-oab {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-address svg,
.footer-phone svg,
.footer-email svg {
  color: #999999;
  flex-shrink: 0;
  fill: #999999;
  stroke: none;
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
}

.footer-phone a,
.footer-email a,
.footer-oab span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-phone a:hover,
.footer-email a:hover,
.footer-oab:hover span {
  color: #ffffff;
}

.footer-phone a:hover svg,
.footer-email a:hover svg,
.footer-address:hover svg,
.footer-oab:hover svg {
  fill: #ffffff;
  color: #ffffff;
  transform: scale(1.1);
}

/* ============ MENU DO FOOTER ============ */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-menu a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #999999;
  transition: transform 0.3s ease;
}

.footer-menu a:hover {
  color: #ffffff;
  padding-left: 20px;
}

.footer-menu a:hover::before {
  transform: translateX(3px);
}

/* ============ SITEMAP ============ */
.sitemap-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.sitemap-menu a::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #999999;
  font-weight: bold;
}

.sitemap-menu a:hover {
  color: #ffffff;
  padding-left: 20px;
}

/* ============ REDES SOCIAIS ============ */
.social-media-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-media-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  min-width: auto;
  position: relative;
}

.social-media-links a:hover {
  background: transparent;
  color: #ffffff;
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.social-media-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-media-links a:hover::after {
  width: 100%;
}

.social-media-links a svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  color: inherit;
}

/* Ícones de redes sociais monocromáticos */
.social-media-links a[href*="facebook"] svg,
.social-media-links a[href*="instagram"] svg,
.social-media-links a[href*="linkedin"] svg,
.social-media-links a[href*="twitter"] svg,
.social-media-links a[href*="x.com"] svg,
.social-media-links a[href*="youtube"] svg,
.social-media-links a[href*="whatsapp"] svg {
  fill: currentColor;
  color: inherit;
}

/* Hover states para ícones de redes sociais */
.social-media-links a:hover svg {
  fill: #ffffff;
  color: #ffffff;
}

.social-name {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Responsividade para redes sociais */
@media (max-width: 768px) {
  .social-media-links {
    justify-content: flex-start;
    gap: 15px;
  }
  
  .social-media-links a {
    padding: 8px 0;
    min-width: auto;
    font-size: 0.8rem;
  }
  
  .social-name {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .social-media-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .social-media-links a {
    width: auto;
    max-width: none;
    justify-content: flex-start;
  }
}

/* ============ FRASE CORPORATIVA CUSTOMIZÁVEL ============ */
.footer-corporate-message {
  text-align: right;
  padding: 15px 0 0 0;
  margin: 0;
  position: relative;
}

.footer-corporate-text {
  font-family: 'Merriweather', serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  font-style: italic;
  max-width: 300px;
  margin-left: auto;
  position: relative;
  text-align: right;
}

/* ============ ÁREA DE COPYRIGHT ============ */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ============ LOGO DA EMPRESA CRIADORA ============ */
.developer-credit {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.developer-credit:hover {
  opacity: 1;
}

.developer-logo {
  max-width: 120px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.developer-link:hover .developer-logo {
  opacity: 1;
}

.developer-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.developer-link:hover .developer-text {
  color: #ffffff;
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 1024px) {
  .site-header-inner {
    padding: 0 15px;
    gap: 20px;
  }
  
  .footer-content-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
  }
  
  .site-branding {
    order: 1;
    flex: 1;
  }
  
  .main-navigation {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }
  
  .secondary-navigation {
    order: 2;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  
  .menu-container.active {
    display: block;
  }
  
  .main-header-menu {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }
  
  .main-header-menu li {
    width: 100%;
  }
  
  .main-header-menu a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }
  
  .main-header-menu a:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .secondary-header-menu {
    flex-direction: column;
    gap: 0;
  }
  
  .secondary-header-menu a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-corporate-message {
    padding: 10px 0 0 0;
    text-align: center;
  }
  
  .footer-corporate-text {
    font-size: 0.75rem;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    padding: 10px;
  }
  
  .site-title a {
    font-size: 1.5rem;
  }
  
  .footer-content-grid {
    gap: 20px;
  }
  
  .social-media-links {
    justify-content: center;
  }
  
  .footer-legal-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-corporate-message {
    padding: 8px 0 0 0;
    text-align: center;
  }
  
  .footer-corporate-text {
    font-size: 0.7rem;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 10px;
  }
}

/* ============ ANIMAÇÕES DOS MENUS ============ */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-container.active {
  animation: slideDown 0.3s ease-out;
}

/* ============ ESTADOS DE HOVER REFINADOS ============ */
.main-header-menu a,
.footer-menu a,
.sitemap-menu a {
  position: relative;
  overflow: hidden;
}

.main-header-menu a::after,
.footer-menu a::after,
.sitemap-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #35424a, #536878);
  transition: width 0.3s ease;
}

.main-header-menu a:hover::after,
.footer-menu a:hover::after,
.sitemap-menu a:hover::after {
  width: 100%;
}

/* ============ MELHORIAS DE ACESSIBILIDADE ============ */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Foco visível para navegação por teclado */
.main-header-menu a:focus,
.footer-menu a:focus,
.sitemap-menu a:focus,
.social-media-links a:focus {
  outline: 2px solid #536878;
  outline-offset: 2px;
}

/* ============ CACHE BUSTED ============ */
/* Cache busted: 06/10/2025 02:15:30 */

/* ========================================
   ANIMAÇÕES HOVER PERSONALIZADAS
   Classes aplicáveis a qualquer bloco
======================================== */

/* ============ ANIMAÇÃO: DESFOQUE INVERSO ============ */
.hover-blur-on {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: blur(1px);
  transform: scale(0.98);
}

.hover-blur-on:hover,
.hover-blur-on:active {
  filter: blur(0px);
  transform: scale(1);
}

/* ============ ANIMAÇÃO: SLIDE DE COR ============ */
.hover-slide {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(53, 66, 74, 0.1), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.hover-slide:hover::before {
  left: 100%;
}

/* ========================================
   LOWER-THIRD COVERS - MIGUEL E THAÍS
   Animação tipo TV/broadcast para apresentação
======================================== */

/* ============ CONFIGURAÇÃO BASE DOS COVERS ============ */
.wp-block-cover.cover_miguel,
.wp-block-cover.cover_thais {
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

/* Container interno dos covers */
.cover_miguel .wp-block-cover__inner-container,
.cover_thais .wp-block-cover__inner-container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0;
}

/* ============ LOWER-THIRD CONTAINER REMOVIDO ============ */
/* Background escuro removido conforme solicitação */

/* ============ PARÁGRAFOS NOME E LOWER ============ */
.cover_miguel p.nome,
.cover_miguel p.lower,
.cover_thais p.nome,
.cover_thais p.lower {
  margin: 0;
  padding: 0;
  color: #ffffff;
  position: relative;
  z-index: 4;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  line-height: 1.3;
}

/* Estilo específico para o NOME */
.cover_miguel p.nome,
.cover_thais p.nome {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

/* Estilo específico para o LOWER (cargo/descrição) */
.cover_miguel p.lower,
.cover_thais p.lower {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* ============ ANIMAÇÃO NO HOVER ============ */

/* Background lower-third removido - apenas animação dos textos */

/* Mostrar os textos com animação */
.cover_miguel:hover p.nome,
.cover_miguel:hover p.lower,
.cover_thais:hover p.nome,
.cover_thais:hover p.lower {
  transform: translateY(0);
  opacity: 1;
}

/* Delays diferentes para criar efeito cascata */
.cover_miguel:hover p.nome,
.cover_thais:hover p.nome {
  transition-delay: 0.2s;
}

.cover_miguel:hover p.lower,
.cover_thais:hover p.lower {
  transition-delay: 0.4s;
}

/* ============ POSICIONAMENTO DOS TEXTOS ============ */
.cover_miguel .wp-block-cover__inner-container,
.cover_thais .wp-block-cover__inner-container {
  padding: 0 30px 30px 30px;
}

/* ============ EFEITOS VISUAIS EXTRAS ============ */

/* Overlay adicional no hover para destaque */
.cover_miguel::before,
.cover_thais::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.cover_miguel:hover::before,
.cover_thais:hover::before {
  background: rgba(0, 0, 0, 0.1);
}

/* Animação de brilho removida junto com o background */

/* @keyframes borderGlow removido - não é mais necessário */

/* ============ MICRO-ANIMAÇÕES ============ */

/* Efeito de escala sutil no cover inteiro */
.cover_miguel:hover,
.cover_thais:hover {
  transform: scale(1.02);
}

/* Animação de digitação para o nome */
.cover_miguel:hover p.nome,
.cover_thais:hover p.nome {
  animation: typewriterEffect 0.8s ease-out 0.2s both;
}

@keyframes typewriterEffect {
  from {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }
  to {
    max-width: 100%;
    overflow: visible;
    white-space: normal;
  }
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 768px) {
  .cover_miguel .wp-block-cover__inner-container,
  .cover_thais .wp-block-cover__inner-container {
    padding: 0 20px 20px 20px;
  }
  
  .cover_miguel p.nome,
  .cover_thais p.nome {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
  }
  
  .cover_miguel p.lower,
  .cover_thais p.lower {
    font-size: clamp(0.8rem, 3vw, 1rem);
  }
}

/* ============ ACESSIBILIDADE ============ */

/* Estados de foco para navegação por teclado */
.cover_miguel:focus,
.cover_thais:focus {
  outline: 3px solid #536878;
  outline-offset: 4px;
}

  /* Reduz movimentos para usuários com preferência de movimento reduzido */
  @media (prefers-reduced-motion: reduce) {
    .cover_miguel,
    .cover_thais,
    .cover_miguel p.nome,
    .cover_miguel p.lower,
    .cover_thais p.nome,
    .cover_thais p.lower {
      transition-duration: 0.2s;
    }
    
    .cover_miguel:hover,
    .cover_thais:hover {
      transform: none;
    }
    
    @keyframes typewriterEffect {
      from, to {
        max-width: 100%;
      }
    }
  }
/* ========================================
/* ========================================
   ANIMAÇÃO TYPEWRITER COMPLETA
   Classes: .typewriter-on, .typewriter-off
======================================== */

/* ============ CONTAINER TYPEWRITER ============ */
.typewriter-container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  min-height: 1.2em;
  line-height: 1.2;
}

/* ============ TEXTO TYPEWRITER ============ */
.typewriter-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid transparent;
  animation: typing 3s steps(40, end);
}

/* ============ CURSOR PISCANTE ============ */
.typewriter-cursor {
  display: inline-block;
  color: currentColor;
  font-weight: 400;
  animation: blink 1s infinite;
  margin-left: 2px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* ============ ESTADOS DA ANIMAÇÃO ============ */
.typewriter-container.typewriter-active {
  animation: none;
}

.typewriter-container.typewriter-complete .typewriter-cursor {
  animation: none;
  opacity: 0;
}

/* ============ VARIÁVEIS CSS ============ */
.typewriter-container {
  --typewriter-speed: 80ms;
  --cursor-blink-speed: 500ms;
  --cursor-color: currentColor;
  --cursor-width: 2px;
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 768px) {
  .typewriter-container {
    --typewriter-speed: 60ms;
  }
}

@media (max-width: 480px) {
  .typewriter-container {
    --typewriter-speed: 50ms;
  }
}

/* ============ ACESSIBILIDADE ============ */
@media (prefers-reduced-motion: reduce) {
  .typewriter-container {
    --typewriter-speed: 20ms;
    --cursor-blink-speed: 1000ms;
  }
  
  .typewriter-cursor {
    animation-duration: 2s;
  }
}

/* ============ ESTILOS PARA DIFERENTES ELEMENTOS ============ */

/* Títulos */
h1.typewriter-on,
h1.typewriter-off,
h2.typewriter-on,
h2.typewriter-off,
h3.typewriter-on,
h3.typewriter-off {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #1a1a1a;
}

/* Parágrafos */
p.typewriter-on,
p.typewriter-off {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #536878;
}

/* Botões */
.wp-block-button__link.typewriter-on,
.wp-block-button__link.typewriter-off,
.uagb-button__link.typewriter-on,
.uagb-button__link.typewriter-off {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============ EFEITOS ESPECIAIS ============ */

/* Efeito de destaque no final */
.typewriter-container.typewriter-complete {
  animation: typewriterComplete 0.5s ease-out;
}

@keyframes typewriterComplete {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Efeito de brilho no cursor */
.typewriter-cursor {
  /* text-shadow: 0 0 5px currentColor; */ /* BRILHO DESABILITADO */
}

/* ============ CONTROLES DE DESENVOLVIMENTO ============ */
.typewriter-control-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  padding: 10px 15px;
  background: rgba(53, 66, 74, 0.9);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  opacity: 0.7;
  transition: opacity 0.3s;
  backdrop-filter: blur(10px);
}

.typewriter-control-btn:hover {
  opacity: 1;
  background: rgba(53, 66, 74, 1);
}

/* ============ EXEMPLOS DE USO ============ */

/* Para títulos principais */
.hero-title.typewriter-on {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Para subtítulos */
.subtitle.typewriter-off {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #f8f9fa;
  margin-top: 20px;
}

/* Para textos de destaque */
.highlight-text.typewriter-on {
  font-weight: 600;
  color: #35424a;
  background: linear-gradient(90deg, #35424a, #536878);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================
   INFO-BOX SPECTRA PERSONALIZADO
   Classe: .spectra-elegant-box
======================================== */

/* ============ CONTAINER PRINCIPAL ============ */
.uagb-info-box__content-wrap.spectra-elegant-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  border: 1px solid rgba(53, 66, 74, 0.08);
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 
    0 8px 32px rgba(53, 66, 74, 0.08),
    0 2px 8px rgba(53, 66, 74, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* ============ BORDA SUPERIOR ELEGANTE ============ */
.uagb-info-box__content-wrap.spectra-elegant-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #35424a 0%, #536878 25%, #35424a 50%, #536878 75%, #35424a 100%);
  background-size: 200% 100%;
  animation: elegantBorderFlow 3s ease-in-out infinite;
  border-radius: 20px 20px 0 0;
}

@keyframes elegantBorderFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============ EFEITO DE FUNDO NO HOVER ============ */
.uagb-info-box__content-wrap.spectra-elegant-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(53, 66, 74, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ============ ESTADO HOVER ============ */
.uagb-info-box__content-wrap.spectra-elegant-box:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(53, 66, 74, 0.15),
    0 8px 25px rgba(53, 66, 74, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-color: rgba(53, 66, 74, 0.15);
  border-radius: 24px;
}

.uagb-info-box__content-wrap.spectra-elegant-box:hover::after {
  width: 120%;
  height: 120%;
}

/* ============ ÍCONE ELEGANTE ============ */
.uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__icon {
  position: relative;
  z-index: 3;
  margin-bottom: 25px;
}

.uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__icon svg {
  height: 60px;
  width: 60px;
  fill: #35424a;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 4px 8px rgba(53, 66, 74, 0.15));
}

.uagb-info-box__content-wrap.spectra-elegant-box:hover .uagb-info-box__icon svg {
  transform: scale(1.2) rotate(5deg);
  fill: #536878;
  filter: drop-shadow(0 6px 12px rgba(83, 111, 120, 0.3));
}

/* ============ TÍTULO ELEGANTE ============ */
.uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 18px;
  position: relative;
  z-index: 3;
  line-height: 1.3;
}

.uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #35424a, #536878);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 4px rgba(53, 66, 74, 0.2);
}

.uagb-info-box__content-wrap.spectra-elegant-box:hover .uagb-info-box__title::after {
  width: 80px;
  box-shadow: 0 4px 8px rgba(53, 66, 74, 0.3);
}

/* ============ DESCRIÇÃO ELEGANTE ============ */
.uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__description {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #536878;
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

/* ============ EFEITO DE BRILHO SUTIL ============ */
.uagb-info-box__content-wrap.spectra-elegant-box::before {
  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.8s ease;
  z-index: 2;
}

.uagb-info-box__content-wrap.spectra-elegant-box:hover::before {
  left: 100%;
}

/* ============ RESPONSIVIDADE ============ */
@media (max-width: 768px) {
  .uagb-info-box__content-wrap.spectra-elegant-box {
    padding: 30px 25px;
    border-radius: 16px;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box:hover {
    transform: translateY(-8px) scale(1.01);
    border-radius: 18px;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__icon svg {
    height: 50px;
    width: 50px;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .uagb-info-box__content-wrap.spectra-elegant-box {
    padding: 25px 20px;
    border-radius: 14px;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box:hover {
    transform: translateY(-6px) scale(1.005);
    border-radius: 16px;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__icon svg {
    height: 45px;
    width: 45px;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box .uagb-info-box__title {
    font-size: 1.2rem;
  }
}

/* ============ ACESSIBILIDADE ============ */
@media (prefers-reduced-motion: reduce) {
  .uagb-info-box__content-wrap.spectra-elegant-box {
    transition-duration: 0.2s;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box::before {
    animation: none;
  }
  
  .uagb-info-box__content-wrap.spectra-elegant-box:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* ============ ESTADOS DE FOCUS ============ */
.uagb-info-box__content-wrap.spectra-elegant-box:focus-within {
  outline: 3px solid #536878;
  outline-offset: 4px;
  border-radius: 20px;
}

/* ============ VARIAÇÕES DE COR ============ */

/* Variação Azul */
.uagb-info-box__content-wrap.spectra-elegant-box.spectra-blue::before {
  background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 25%, #1e3a8a 50%, #3b82f6 75%, #1e3a8a 100%);
}

.uagb-info-box__content-wrap.spectra-elegant-box.spectra-blue .uagb-info-box__title::after {
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

/* Variação Verde */
.uagb-info-box__content-wrap.spectra-elegant-box.spectra-green::before {
  background: linear-gradient(90deg, #065f46 0%, #10b981 25%, #065f46 50%, #10b981 75%, #065f46 100%);
}

.uagb-info-box__content-wrap.spectra-elegant-box.spectra-green .uagb-info-box__title::after {
  background: linear-gradient(90deg, #065f46, #10b981);
}

/* Variação Roxo */
.uagb-info-box__content-wrap.spectra-elegant-box.spectra-purple::before {
  background: linear-gradient(90deg, #581c87 0%, #8b5cf6 25%, #581c87 50%, #8b5cf6 75%, #581c87 100%);
}

.uagb-info-box__content-wrap.spectra-elegant-box.spectra-purple .uagb-info-box__title::after {
  background: linear-gradient(90deg, #581c87, #8b5cf6);
}

/* ============ RESPONSIVIDADE - MANTENDO TAMANHOS CONSISTENTES ============ */
@media (max-width: 768px) {
  .site-header .custom-logo,
  .site-header .logo-compact {
    max-height: 50px !important;
  }
  
  .site-header .site-title a {
    font-size: 1.3rem !important;
  }
  
  .site-header.sticky-header {
    min-height: calc(65px - (5px * var(--sticky-progress))) !important;
  }
}

@media (max-width: 480px) {
  .site-header .custom-logo,
  .site-header .logo-compact {
    max-height: 45px !important;
  }
  
  .site-header .site-title a {
    font-size: 1.2rem !important;
  }
  
  .site-header.sticky-header {
    min-height: calc(60px - (5px * var(--sticky-progress))) !important;
  }
}

/* ============ SUAVIZAÇÃO PARA MOVIMENTO REDUZIDO ============ */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .custom-logo,
  .site-header .site-title a,
  .site-header .main-header-menu a {
    transition: none !important;
  }
  
  .site-header.sticky-header {
    animation: none !important;
  }
}

/* ========================================
   ANIMAÇÕES SUAVES PARA SPECTRA CONTAINERS E COLUNAS
   Classes: .spectra-smooth-animation
======================================== */

/* ============ KEYFRAMES PARA ANIMAÇÕES SUAVES ============ */

@keyframes spectraSoftFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spectraSoftSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spectraSoftScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spectraShimmerFlow {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ============ ANIMAÇÃO PRINCIPAL - CONTAINERS ============ */

/* Containers e seções do Spectra */
.uagb-section__wrap.spectra-smooth-animation,
.uagb-container.spectra-smooth-animation,
.wp-block-group.spectra-smooth-animation,
.wp-block-columns.spectra-smooth-animation {
  opacity: 0;
  animation: spectraSoftFadeIn 0.8s ease-out forwards;
  position: relative;
  overflow: hidden;
}

/* Delay progressivo para múltiplos containers */
.uagb-section__wrap.spectra-smooth-animation:nth-child(1) { animation-delay: 0.1s; }
.uagb-section__wrap.spectra-smooth-animation:nth-child(2) { animation-delay: 0.2s; }
.uagb-section__wrap.spectra-smooth-animation:nth-child(3) { animation-delay: 0.3s; }
.uagb-section__wrap.spectra-smooth-animation:nth-child(4) { animation-delay: 0.4s; }
.uagb-section__wrap.spectra-smooth-animation:nth-child(5) { animation-delay: 0.5s; }

/* ============ ANIMAÇÃO PARA COLUNAS ============ */

/* Colunas individuais */
.wp-block-column.spectra-smooth-animation,
.uagb-column.spectra-smooth-animation {
  opacity: 0;
  animation: spectraSoftSlideIn 0.6s ease-out forwards;
}

/* Delay para colunas */
.wp-block-column.spectra-smooth-animation:nth-child(1) { animation-delay: 0.1s; }
.wp-block-column.spectra-smooth-animation:nth-child(2) { animation-delay: 0.2s; }
.wp-block-column.spectra-smooth-animation:nth-child(3) { animation-delay: 0.3s; }
.wp-block-column.spectra-smooth-animation:nth-child(4) { animation-delay: 0.4s; }

/* ============ HOVER SUAVE PARA CONTAINERS ============ */

.uagb-section__wrap.spectra-smooth-animation:hover,
.uagb-container.spectra-smooth-animation:hover,
.wp-block-group.spectra-smooth-animation:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(26, 26, 26, 0.1);
}

/* ============ EFEITO SHIMMER SUTIL ============ */

.uagb-section__wrap.spectra-smooth-animation::before,
.uagb-container.spectra-smooth-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.03) 25%, 
    rgba(255, 255, 255, 0.05) 50%, 
    rgba(255, 255, 255, 0.03) 75%, 
    transparent
  );
  animation: spectraShimmerFlow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ============ VARIAÇÕES DE ANIMAÇÃO ============ */

/* Animação com escala */
.spectra-smooth-scale {
  opacity: 0;
  animation: spectraSoftScale 0.7s ease-out forwards;
}

/* Animação mais rápida */
.spectra-smooth-fast {
  animation-duration: 0.4s;
}

/* Animação mais lenta */
.spectra-smooth-slow {
  animation-duration: 1.2s;
}

/* ============ ELEMENTOS FILHOS ESPECÍFICOS ============ */

/* Animação para info boxes dentro de containers */
.spectra-smooth-animation .uagb-info-box__content-wrap {
  opacity: 0;
  animation: spectraSoftFadeIn 0.6s ease-out forwards;
}

.spectra-smooth-animation .uagb-info-box__content-wrap:nth-child(1) { animation-delay: 0.2s; }
.spectra-smooth-animation .uagb-info-box__content-wrap:nth-child(2) { animation-delay: 0.3s; }
.spectra-smooth-animation .uagb-info-box__content-wrap:nth-child(3) { animation-delay: 0.4s; }
.spectra-smooth-animation .uagb-info-box__content-wrap:nth-child(4) { animation-delay: 0.5s; }

/* Animação para headings */
.spectra-smooth-animation .uagb-heading-text {
  opacity: 0;
  animation: spectraSoftFadeIn 0.5s ease-out forwards;
  animation-delay: 0.1s;
}

/* Animação para botões */
.spectra-smooth-animation .wp-block-button,
.spectra-smooth-animation .uagb-button {
  opacity: 0;
  animation: spectraSoftScale 0.5s ease-out forwards;
  animation-delay: 0.3s;
}

/* ============ RESPONSIVIDADE ============ */

@media (max-width: 768px) {
  .uagb-section__wrap.spectra-smooth-animation:hover,
  .uagb-container.spectra-smooth-animation:hover,
  .wp-block-group.spectra-smooth-animation:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 26, 26, 0.08);
  }
  
  /* Reduzir delay em mobile */
  .uagb-section__wrap.spectra-smooth-animation:nth-child(n) { animation-delay: 0.05s; }
  .wp-block-column.spectra-smooth-animation:nth-child(n) { animation-delay: 0.1s; }
}

@media (max-width: 480px) {
  .uagb-section__wrap.spectra-smooth-animation:hover,
  .uagb-container.spectra-smooth-animation:hover,
  .wp-block-group.spectra-smooth-animation:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(26, 26, 26, 0.05);
  }
  
  /* Animações mais rápidas em mobile */
  .uagb-section__wrap.spectra-smooth-animation,
  .uagb-container.spectra-smooth-animation,
  .wp-block-group.spectra-smooth-animation,
  .wp-block-columns.spectra-smooth-animation {
    animation-duration: 0.5s;
  }
}

/* ============ ACESSIBILIDADE ============ */

@media (prefers-reduced-motion: reduce) {
  .uagb-section__wrap.spectra-smooth-animation,
  .uagb-container.spectra-smooth-animation,
  .wp-block-group.spectra-smooth-animation,
  .wp-block-columns.spectra-smooth-animation,
  .wp-block-column.spectra-smooth-animation,
  .uagb-column.spectra-smooth-animation {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .uagb-section__wrap.spectra-smooth-animation::before,
  .uagb-container.spectra-smooth-animation::before {
    animation: none;
  }
  
  .uagb-section__wrap.spectra-smooth-animation:hover,
  .uagb-container.spectra-smooth-animation:hover,
  .wp-block-group.spectra-smooth-animation:hover {
    transform: none;
    transition: box-shadow 0.2s ease;
  }
}

/* ============ TRIGGERS DE ANIMAÇÃO ============ */

/* Animação ativada por scroll (quando visível) */
.spectra-smooth-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.spectra-smooth-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animação ativada por hover do pai */
.spectra-smooth-parent:hover .spectra-smooth-child {
  animation: spectraSoftFadeIn 0.4s ease-out forwards;
}

/* ============ CLASSES UTILITÁRIAS ============ */

/* Para aplicar rapidamente */
.fade-in-soft { animation: spectraSoftFadeIn 0.6s ease-out forwards; }
.slide-in-soft { animation: spectraSoftSlideIn 0.6s ease-out forwards; }
.scale-in-soft { animation: spectraSoftScale 0.6s ease-out forwards; }

/* Para remover animações quando necessário */
.no-animation {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Cache busted: 11/01/2025 - Animações líquidas dos botões implementadas */

/* ========================================
   ANIMAÇÕES LÍQUIDAS PARA BOTÕES
   Classes: .liquid-fill-down e .liquid-fill-up-right
======================================== */

/* ============ KEYFRAMES PARA EFEITO LÍQUIDO ============ */

@keyframes liquidFillUp {
  0% {
    height: 0%;
  }
  100% {
    height: 100%;
  }
}

@keyframes arrowSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowSlideUpRight {
  0% {
    opacity: 0;
    transform: translate(-5px, 5px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* ============ BOTÃO COM SETA PARA BAIXO ============ */

button.liquid-fill-down,
input[type="button"].liquid-fill-down,
input[type="submit"].liquid-fill-down,
input[type="reset"].liquid-fill-down,
.button.liquid-fill-down,
.btn.liquid-fill-down,
.wp-element-button.liquid-fill-down,
.wp-block-button__link.liquid-fill-down,
.uagb-button__link.liquid-fill-down {
  background: #1a1a1a;
  color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  z-index: 1;
}

/* Efeito líquido */
button.liquid-fill-down::before,
input[type="button"].liquid-fill-down::before,
input[type="submit"].liquid-fill-down::before,
input[type="reset"].liquid-fill-down::before,
.button.liquid-fill-down::before,
.btn.liquid-fill-down::before,
.wp-element-button.liquid-fill-down::before,
.wp-block-button__link.liquid-fill-down::before,
.uagb-button__link.liquid-fill-down::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

/* Seta para baixo */
button.liquid-fill-down::after,
input[type="button"].liquid-fill-down::after,
input[type="submit"].liquid-fill-down::after,
input[type="reset"].liquid-fill-down::after,
.button.liquid-fill-down::after,
.btn.liquid-fill-down::after,
.wp-element-button.liquid-fill-down::after,
.wp-block-button__link.liquid-fill-down::after,
.uagb-button__link.liquid-fill-down::after {
  content: '↓';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Estado hover - seta para baixo */
button.liquid-fill-down:hover::before,
input[type="button"].liquid-fill-down:hover::before,
input[type="submit"].liquid-fill-down:hover::before,
input[type="reset"].liquid-fill-down:hover::before,
.button.liquid-fill-down:hover::before,
.btn.liquid-fill-down:hover::before,
.wp-element-button.liquid-fill-down:hover::before,
.wp-block-button__link.liquid-fill-down:hover::before,
.uagb-button__link.liquid-fill-down:hover::before {
  height: 100%;
}

button.liquid-fill-down:hover::after,
input[type="button"].liquid-fill-down:hover::after,
input[type="submit"].liquid-fill-down:hover::after,
input[type="reset"].liquid-fill-down:hover::after,
.button.liquid-fill-down:hover::after,
.btn.liquid-fill-down:hover::after,
.wp-element-button.liquid-fill-down:hover::after,
.wp-block-button__link.liquid-fill-down:hover::after,
.uagb-button__link.liquid-fill-down:hover::after {
  opacity: 1;
  animation: arrowSlideDown 0.3s ease forwards;
}

button.liquid-fill-down:hover,
input[type="button"].liquid-fill-down:hover,
input[type="submit"].liquid-fill-down:hover,
input[type="reset"].liquid-fill-down:hover,
.button.liquid-fill-down:hover,
.btn.liquid-fill-down:hover,
.wp-element-button.liquid-fill-down:hover,
.wp-block-button__link.liquid-fill-down:hover,
.uagb-button__link.liquid-fill-down:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3);
  border-color: #2a2a2a;
  padding-right: 40px; /* Espaço para a seta */
}

/* ============ BOTÃO COM SETA DIAGONAL DIREITA PARA CIMA ============ */

button.liquid-fill-up-right,
input[type="button"].liquid-fill-up-right,
input[type="submit"].liquid-fill-up-right,
input[type="reset"].liquid-fill-up-right,
.button.liquid-fill-up-right,
.btn.liquid-fill-up-right,
.wp-element-button.liquid-fill-up-right,
.wp-block-button__link.liquid-fill-up-right,
.uagb-button__link.liquid-fill-up-right {
  background: #1a1a1a;
  color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  z-index: 1;
}

/* Efeito líquido */
button.liquid-fill-up-right::before,
input[type="button"].liquid-fill-up-right::before,
input[type="submit"].liquid-fill-up-right::before,
input[type="reset"].liquid-fill-up-right::before,
.button.liquid-fill-up-right::before,
.btn.liquid-fill-up-right::before,
.wp-element-button.liquid-fill-up-right::before,
.wp-block-button__link.liquid-fill-up-right::before,
.uagb-button__link.liquid-fill-up-right::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

/* Seta diagonal direita para cima */
button.liquid-fill-up-right::after,
input[type="button"].liquid-fill-up-right::after,
input[type="submit"].liquid-fill-up-right::after,
input[type="reset"].liquid-fill-up-right::after,
.button.liquid-fill-up-right::after,
.btn.liquid-fill-up-right::after,
.wp-element-button.liquid-fill-up-right::after,
.wp-block-button__link.liquid-fill-up-right::after,
.uagb-button__link.liquid-fill-up-right::after {
  content: '↗';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Estado hover - seta diagonal */
button.liquid-fill-up-right:hover::before,
input[type="button"].liquid-fill-up-right:hover::before,
input[type="submit"].liquid-fill-up-right:hover::before,
input[type="reset"].liquid-fill-up-right:hover::before,
.button.liquid-fill-up-right:hover::before,
.btn.liquid-fill-up-right:hover::before,
.wp-element-button.liquid-fill-up-right:hover::before,
.wp-block-button__link.liquid-fill-up-right:hover::before,
.uagb-button__link.liquid-fill-up-right:hover::before {
  height: 100%;
}

button.liquid-fill-up-right:hover::after,
input[type="button"].liquid-fill-up-right:hover::after,
input[type="submit"].liquid-fill-up-right:hover::after,
input[type="reset"].liquid-fill-up-right:hover::after,
.button.liquid-fill-up-right:hover::after,
.btn.liquid-fill-up-right:hover::after,
.wp-element-button.liquid-fill-up-right:hover::after,
.wp-block-button__link.liquid-fill-up-right:hover::after,
.uagb-button__link.liquid-fill-up-right:hover::after {
  opacity: 1;
  animation: arrowSlideUpRight 0.3s ease forwards;
}

button.liquid-fill-up-right:hover,
input[type="button"].liquid-fill-up-right:hover,
input[type="submit"].liquid-fill-up-right:hover,
input[type="reset"].liquid-fill-up-right:hover,
.button.liquid-fill-up-right:hover,
.btn.liquid-fill-up-right:hover,
.wp-element-button.liquid-fill-up-right:hover,
.wp-block-button__link.liquid-fill-up-right:hover,
.uagb-button__link.liquid-fill-up-right:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3);
  border-color: #2a2a2a;
  padding-right: 40px; /* Espaço para a seta */
}

/* ============ RESPONSIVIDADE ============ */

@media (max-width: 768px) {
  button.liquid-fill-down,
  button.liquid-fill-up-right,
  .wp-block-button__link.liquid-fill-down,
  .wp-block-button__link.liquid-fill-up-right {
    padding: 16px 32px;
    font-size: 16px;
    min-height: 44px;
  }
  
  button.liquid-fill-down:hover,
  button.liquid-fill-up-right:hover,
  .wp-block-button__link.liquid-fill-down:hover,
  .wp-block-button__link.liquid-fill-up-right:hover {
    padding-right: 44px;
  }
}

/* ============ ACESSIBILIDADE ============ */

@media (prefers-reduced-motion: reduce) {
  button.liquid-fill-down::before,
  button.liquid-fill-up-right::before,
  .wp-block-button__link.liquid-fill-down::before,
  .wp-block-button__link.liquid-fill-up-right::before {
    transition: none;
  }
  
  button.liquid-fill-down::after,
  button.liquid-fill-up-right::after,
  .wp-block-button__link.liquid-fill-down::after,
  .wp-block-button__link.liquid-fill-up-right::after {
    animation: none;
    transition: opacity 0.2s ease;
  }
  
  button.liquid-fill-down:hover,
  button.liquid-fill-up-right:hover,
  .wp-block-button__link.liquid-fill-down:hover,
  .wp-block-button__link.liquid-fill-up-right:hover {
    transform: none;
    background-color: #2a2a2a;
  }
}

/* ========================================
   ANIMAÇÕES LÍQUIDAS PARA BOTÕES
   Classes: .liquid-fill-down e .liquid-fill-up-right
======================================== */

/* ============ KEYFRAMES PARA EFEITO LÍQUIDO ============ */

@keyframes liquidFillUp {
  0% {
    height: 0%;
  }
  100% {
    height: 100%;
  }
}

@keyframes arrowSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowSlideUpRight {
  0% {
    opacity: 0;
    transform: translate(-5px, 5px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* ============ BOTÃO COM SETA PARA BAIXO ============ */

button.liquid-fill-down,
input[type="button"].liquid-fill-down,
input[type="submit"].liquid-fill-down,
input[type="reset"].liquid-fill-down,
.button.liquid-fill-down,
.btn.liquid-fill-down,
.wp-element-button.liquid-fill-down,
.wp-block-button__link.liquid-fill-down,
.uagb-button__link.liquid-fill-down {
  background: #1a1a1a;
  color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  z-index: 1;
}

/* Efeito líquido */
button.liquid-fill-down::before,
input[type="button"].liquid-fill-down::before,
input[type="submit"].liquid-fill-down::before,
input[type="reset"].liquid-fill-down::before,
.button.liquid-fill-down::before,
.btn.liquid-fill-down::before,
.wp-element-button.liquid-fill-down::before,
.wp-block-button__link.liquid-fill-down::before,
.uagb-button__link.liquid-fill-down::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

/* Seta para baixo */
button.liquid-fill-down::after,
input[type="button"].liquid-fill-down::after,
input[type="submit"].liquid-fill-down::after,
input[type="reset"].liquid-fill-down::after,
.button.liquid-fill-down::after,
.btn.liquid-fill-down::after,
.wp-element-button.liquid-fill-down::after,
.wp-block-button__link.liquid-fill-down::after,
.uagb-button__link.liquid-fill-down::after {
  content: '↓';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Estado hover - seta para baixo */
button.liquid-fill-down:hover::before,
input[type="button"].liquid-fill-down:hover::before,
input[type="submit"].liquid-fill-down:hover::before,
input[type="reset"].liquid-fill-down:hover::before,
.button.liquid-fill-down:hover::before,
.btn.liquid-fill-down:hover::before,
.wp-element-button.liquid-fill-down:hover::before,
.wp-block-button__link.liquid-fill-down:hover::before,
.uagb-button__link.liquid-fill-down:hover::before {
  height: 100%;
}

button.liquid-fill-down:hover::after,
input[type="button"].liquid-fill-down:hover::after,
input[type="submit"].liquid-fill-down:hover::after,
input[type="reset"].liquid-fill-down:hover::after,
.button.liquid-fill-down:hover::after,
.btn.liquid-fill-down:hover::after,
.wp-element-button.liquid-fill-down:hover::after,
.wp-block-button__link.liquid-fill-down:hover::after,
.uagb-button__link.liquid-fill-down:hover::after {
  opacity: 1;
  animation: arrowSlideDown 0.3s ease forwards;
}

button.liquid-fill-down:hover,
input[type="button"].liquid-fill-down:hover,
input[type="submit"].liquid-fill-down:hover,
input[type="reset"].liquid-fill-down:hover,
.button.liquid-fill-down:hover,
.btn.liquid-fill-down:hover,
.wp-element-button.liquid-fill-down:hover,
.wp-block-button__link.liquid-fill-down:hover,
.uagb-button__link.liquid-fill-down:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3);
  border-color: #2a2a2a;
  padding-right: 40px; /* Espaço para a seta */
}

/* ============ BOTÃO COM SETA DIAGONAL DIREITA PARA CIMA ============ */

button.liquid-fill-up-right,
input[type="button"].liquid-fill-up-right,
input[type="submit"].liquid-fill-up-right,
input[type="reset"].liquid-fill-up-right,
.button.liquid-fill-up-right,
.btn.liquid-fill-up-right,
.wp-element-button.liquid-fill-up-right,
.wp-block-button__link.liquid-fill-up-right,
.uagb-button__link.liquid-fill-up-right {
  background: #1a1a1a;
  color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  padding: 14px 28px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  z-index: 1;
}

/* Efeito líquido */
button.liquid-fill-up-right::before,
input[type="button"].liquid-fill-up-right::before,
input[type="submit"].liquid-fill-up-right::before,
input[type="reset"].liquid-fill-up-right::before,
.button.liquid-fill-up-right::before,
.btn.liquid-fill-up-right::before,
.wp-element-button.liquid-fill-up-right::before,
.wp-block-button__link.liquid-fill-up-right::before,
.uagb-button__link.liquid-fill-up-right::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

/* Seta diagonal direita para cima */
button.liquid-fill-up-right::after,
input[type="button"].liquid-fill-up-right::after,
input[type="submit"].liquid-fill-up-right::after,
input[type="reset"].liquid-fill-up-right::after,
.button.liquid-fill-up-right::after,
.btn.liquid-fill-up-right::after,
.wp-element-button.liquid-fill-up-right::after,
.wp-block-button__link.liquid-fill-up-right::after,
.uagb-button__link.liquid-fill-up-right::after {
  content: '↗';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Estado hover - seta diagonal */
button.liquid-fill-up-right:hover::before,
input[type="button"].liquid-fill-up-right:hover::before,
input[type="submit"].liquid-fill-up-right:hover::before,
input[type="reset"].liquid-fill-up-right:hover::before,
.button.liquid-fill-up-right:hover::before,
.btn.liquid-fill-up-right:hover::before,
.wp-element-button.liquid-fill-up-right:hover::before,
.wp-block-button__link.liquid-fill-up-right:hover::before,
.uagb-button__link.liquid-fill-up-right:hover::before {
  height: 100%;
}

button.liquid-fill-up-right:hover::after,
input[type="button"].liquid-fill-up-right:hover::after,
input[type="submit"].liquid-fill-up-right:hover::after,
input[type="reset"].liquid-fill-up-right:hover::after,
.button.liquid-fill-up-right:hover::after,
.btn.liquid-fill-up-right:hover::after,
.wp-element-button.liquid-fill-up-right:hover::after,
.wp-block-button__link.liquid-fill-up-right:hover::after,
.uagb-button__link.liquid-fill-up-right:hover::after {
  opacity: 1;
  animation: arrowSlideUpRight 0.3s ease forwards;
}

button.liquid-fill-up-right:hover,
input[type="button"].liquid-fill-up-right:hover,
input[type="submit"].liquid-fill-up-right:hover,
input[type="reset"].liquid-fill-up-right:hover,
.button.liquid-fill-up-right:hover,
.btn.liquid-fill-up-right:hover,
.wp-element-button.liquid-fill-up-right:hover,
.wp-block-button__link.liquid-fill-up-right:hover,
.uagb-button__link.liquid-fill-up-right:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3);
  border-color: #2a2a2a;
  padding-right: 40px; /* Espaço para a seta */
}

/* ============ RESPONSIVIDADE ============ */

@media (max-width: 768px) {
  button.liquid-fill-down,
  button.liquid-fill-up-right,
  input[type="button"].liquid-fill-down,
  input[type="button"].liquid-fill-up-right,
  input[type="submit"].liquid-fill-down,
  input[type="submit"].liquid-fill-up-right,
  input[type="reset"].liquid-fill-down,
  input[type="reset"].liquid-fill-up-right,
  .button.liquid-fill-down,
  .button.liquid-fill-up-right,
  .btn.liquid-fill-down,
  .btn.liquid-fill-up-right,
  .wp-element-button.liquid-fill-down,
  .wp-element-button.liquid-fill-up-right,
  .wp-block-button__link.liquid-fill-down,
  .wp-block-button__link.liquid-fill-up-right,
  .uagb-button__link.liquid-fill-down,
  .uagb-button__link.liquid-fill-up-right {
    padding: 16px 32px;
    font-size: 16px;
    min-height: 44px; /* Padrão de acessibilidade touch */
  }
  
  button.liquid-fill-down:hover,
  button.liquid-fill-up-right:hover,
  .wp-block-button__link.liquid-fill-down:hover,
  .wp-block-button__link.liquid-fill-up-right:hover {
    padding-right: 44px; /* Mais espaço para a seta em mobile */
  }
}

@media (max-width: 480px) {
  button.liquid-fill-down::after,
  button.liquid-fill-up-right::after,
  .wp-block-button__link.liquid-fill-down::after,
  .wp-block-button__link.liquid-fill-up-right::after {
    font-size: 18px; /* Seta maior em telas pequenas */
    right: 16px;
  }
}

/* ============ ACESSIBILIDADE - MOVIMENTO REDUZIDO ============ */

@media (prefers-reduced-motion: reduce) {
  button.liquid-fill-down,
  button.liquid-fill-up-right,
  input[type="button"].liquid-fill-down,
  input[type="button"].liquid-fill-up-right,
  input[type="submit"].liquid-fill-down,
  input[type="submit"].liquid-fill-up-right,
  input[type="reset"].liquid-fill-down,
  input[type="reset"].liquid-fill-up-right,
  .button.liquid-fill-down,
  .button.liquid-fill-up-right,
  .btn.liquid-fill-down,
  .btn.liquid-fill-up-right,
  .wp-element-button.liquid-fill-down,
  .wp-element-button.liquid-fill-up-right,
  .wp-block-button__link.liquid-fill-down,
  .wp-block-button__link.liquid-fill-up-right,
  .uagb-button__link.liquid-fill-down,
  .uagb-button__link.liquid-fill-up-right {
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  
  button.liquid-fill-down::before,
  button.liquid-fill-up-right::before,
  .wp-block-button__link.liquid-fill-down::before,
  .wp-block-button__link.liquid-fill-up-right::before {
    transition: none;
  }
  
  button.liquid-fill-down::after,
  button.liquid-fill-up-right::after,
  .wp-block-button__link.liquid-fill-down::after,
  .wp-block-button__link.liquid-fill-up-right::after {
    animation: none;
    transition: opacity 0.2s ease;
  }
  
  button.liquid-fill-down:hover,
  button.liquid-fill-up-right:hover,
  .wp-block-button__link.liquid-fill-down:hover,
  .wp-block-button__link.liquid-fill-up-right:hover {
    transform: none;
    background-color: #2a2a2a;
  }
  
  button.liquid-fill-down:hover::before,
  button.liquid-fill-up-right:hover::before,
  .wp-block-button__link.liquid-fill-down:hover::before,
  .wp-block-button__link.liquid-fill-up-right:hover::before {
    height: 0%;
  }
}

/* ============ COMBINAÇÃO COM OUTRAS CLASSES ============ */

/* Versão outline com efeito líquido */
.wp-block-button.is-style-outline .wp-block-button__link.liquid-fill-down,
.wp-block-button.is-style-outline .wp-block-button__link.liquid-fill-up-right {
  background: transparent;
  color: #1a1a1a;
}

.wp-block-button.is-style-outline .wp-block-button__link.liquid-fill-down:hover,
.wp-block-button.is-style-outline .wp-block-button__link.liquid-fill-up-right:hover {
  color: #ffffff;
}

/* ========================================
   CORREÇÃO DE ESPECIFICIDADE - ANIMAÇÕES LÍQUIDAS
   Força alta prioridade para as animações
======================================== */

/* Força hover para botões liquid-fill-down */
html body button.liquid-fill-down:hover,
html body input[type="button"].liquid-fill-down:hover,
html body input[type="submit"].liquid-fill-down:hover,
html body input[type="reset"].liquid-fill-down:hover,
html body .button.liquid-fill-down:hover,
html body .btn.liquid-fill-down:hover,
html body .wp-element-button.liquid-fill-down:hover,
html body .wp-block-button__link.liquid-fill-down:hover,
html body .uagb-button__link.liquid-fill-down:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3) !important;
  border-color: #2a2a2a !important;
  padding-right: 40px !important;
  background: #1a1a1a !important;
}

/* Força hover para botões liquid-fill-up-right */
html body button.liquid-fill-up-right:hover,
html body input[type="button"].liquid-fill-up-right:hover,
html body input[type="submit"].liquid-fill-up-right:hover,
html body input[type="reset"].liquid-fill-up-right:hover,
html body .button.liquid-fill-up-right:hover,
html body .btn.liquid-fill-up-right:hover,
html body .wp-element-button.liquid-fill-up-right:hover,
html body .wp-block-button__link.liquid-fill-up-right:hover,
html body .uagb-button__link.liquid-fill-up-right:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3) !important;
  border-color: #2a2a2a !important;
  padding-right: 40px !important;
  background: #1a1a1a !important;
}

/* Força efeito líquido */
html body button.liquid-fill-down:hover::before,
html body .wp-block-button__link.liquid-fill-down:hover::before,
html body .uagb-button__link.liquid-fill-down:hover::before,
html body button.liquid-fill-up-right:hover::before,
html body .wp-block-button__link.liquid-fill-up-right:hover::before,
html body .uagb-button__link.liquid-fill-up-right:hover::before {
  height: 100% !important;
}

/* Força aparição das setas */
html body button.liquid-fill-down:hover::after,
html body .wp-block-button__link.liquid-fill-down:hover::after,
html body .uagb-button__link.liquid-fill-down:hover::after,
html body button.liquid-fill-up-right:hover::after,
html body .wp-block-button__link.liquid-fill-up-right:hover::after,
html body .uagb-button__link.liquid-fill-up-right:hover::after {
  opacity: 1 !important;
}

/* Cache busted: 11/01/2025 - Animações líquidas dos botões adicionadas - Especificidade corrigida */

/* ============ EFEITOS DE HOVER PARA CARDS CLICÁVEIS ============ */

/* Card info-box com efeito hover aristocrático - APENAS para cards com links */
.uagb-infobox__content-wrap:has(a),
.uagb-infobox__content-wrap[onclick],
.uagb-infobox__content-wrap[data-link],
.uagb-infobox__content-wrap.clickable,
a .uagb-infobox__content-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
  will-change: transform, box-shadow, background-color;
}

/* Cards sem links mantêm cursor padrão */
.uagb-infobox__content-wrap:not(:has(a)):not([onclick]):not([data-link]):not(.clickable) {
  cursor: default;
}

/* Efeito de elevação e sombra no hover - APENAS para cards com links */
.uagb-infobox__content-wrap:has(a):hover,
.uagb-infobox__content-wrap[onclick]:hover,
.uagb-infobox__content-wrap[data-link]:hover,
.uagb-infobox__content-wrap.clickable:hover,
a .uagb-infobox__content-wrap:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.02);
}

/* Efeito de brilho sutil que percorre o card - APENAS para cards com links */
.uagb-infobox__content-wrap:has(a)::before,
.uagb-infobox__content-wrap[onclick]::before,
.uagb-infobox__content-wrap[data-link]::before,
.uagb-infobox__content-wrap.clickable::before,
a .uagb-infobox__content-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.08) 50%, 
    transparent
  );
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
  pointer-events: none;
}

.uagb-infobox__content-wrap:has(a):hover::before,
.uagb-infobox__content-wrap[onclick]:hover::before,
.uagb-infobox__content-wrap[data-link]:hover::before,
.uagb-infobox__content-wrap.clickable:hover::before,
a .uagb-infobox__content-wrap:hover::before {
  left: 100%;
}

/* Efeito no ícone - rotação sutil e mudança de cor - APENAS para cards com links */
.uagb-infobox__content-wrap:has(a) .uagb-ifb-icon-wrap,
.uagb-infobox__content-wrap[onclick] .uagb-ifb-icon-wrap,
.uagb-infobox__content-wrap[data-link] .uagb-ifb-icon-wrap,
.uagb-infobox__content-wrap.clickable .uagb-ifb-icon-wrap,
a .uagb-infobox__content-wrap .uagb-ifb-icon-wrap {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
}

.uagb-infobox__content-wrap:has(a):hover .uagb-ifb-icon-wrap,
.uagb-infobox__content-wrap[onclick]:hover .uagb-ifb-icon-wrap,
.uagb-infobox__content-wrap[data-link]:hover .uagb-ifb-icon-wrap,
.uagb-infobox__content-wrap.clickable:hover .uagb-ifb-icon-wrap,
a .uagb-infobox__content-wrap:hover .uagb-ifb-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.uagb-infobox__content-wrap:has(a) .uagb-ifb-icon-wrap svg,
.uagb-infobox__content-wrap[onclick] .uagb-ifb-icon-wrap svg,
.uagb-infobox__content-wrap[data-link] .uagb-ifb-icon-wrap svg,
.uagb-infobox__content-wrap.clickable .uagb-ifb-icon-wrap svg,
a .uagb-infobox__content-wrap .uagb-ifb-icon-wrap svg {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.uagb-infobox__content-wrap:has(a):hover .uagb-ifb-icon-wrap svg,
.uagb-infobox__content-wrap[onclick]:hover .uagb-ifb-icon-wrap svg,
.uagb-infobox__content-wrap[data-link]:hover .uagb-ifb-icon-wrap svg,
.uagb-infobox__content-wrap.clickable:hover .uagb-ifb-icon-wrap svg,
a .uagb-infobox__content-wrap:hover .uagb-ifb-icon-wrap svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transform: scale(1.05);
}

/* Efeito no título - movimento sutil - APENAS para cards com links */
.uagb-infobox__content-wrap:has(a) .uagb-ifb-title,
.uagb-infobox__content-wrap[onclick] .uagb-ifb-title,
.uagb-infobox__content-wrap[data-link] .uagb-ifb-title,
.uagb-infobox__content-wrap.clickable .uagb-ifb-title,
a .uagb-infobox__content-wrap .uagb-ifb-title {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
}

.uagb-infobox__content-wrap:has(a):hover .uagb-ifb-title,
.uagb-infobox__content-wrap[onclick]:hover .uagb-ifb-title,
.uagb-infobox__content-wrap[data-link]:hover .uagb-ifb-title,
.uagb-infobox__content-wrap.clickable:hover .uagb-ifb-title,
a .uagb-infobox__content-wrap:hover .uagb-ifb-title {
  transform: translateY(-2px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Efeito de borda animada usando box-shadow - APENAS para cards com links */
.uagb-infobox__content-wrap:has(a),
.uagb-infobox__content-wrap[onclick],
.uagb-infobox__content-wrap[data-link],
.uagb-infobox__content-wrap.clickable,
a .uagb-infobox__content-wrap {
  box-shadow: 0 0 0 0 transparent;
}

.uagb-infobox__content-wrap:has(a):hover,
.uagb-infobox__content-wrap[onclick]:hover,
.uagb-infobox__content-wrap[data-link]:hover,
.uagb-infobox__content-wrap.clickable:hover,
a .uagb-infobox__content-wrap:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(83, 104, 120, 0.2);
}

/* Efeito específico para containers com background */
.uagb-block-3d87d3e6 .uagb-infobox__content-wrap {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.uagb-block-3d87d3e6 .uagb-infobox__content-wrap:hover {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Efeito de pulso sutil para indicar interatividade */
@keyframes cardPulse {
  0% { 
    box-shadow: 0 0 0 0 rgba(83, 104, 120, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(83, 104, 120, 0.1);
  }
  100% { 
    box-shadow: 0 0 0 0 rgba(83, 104, 120, 0);
  }
}

.uagb-infobox__content-wrap:focus {
  animation: cardPulse 1.5s ease-in-out;
  outline: none;
}

/* Responsividade para mobile - APENAS para cards com links */
@media (max-width: 768px) {
  .uagb-infobox__content-wrap:has(a):hover,
  .uagb-infobox__content-wrap[onclick]:hover,
  .uagb-infobox__content-wrap[data-link]:hover,
  .uagb-infobox__content-wrap.clickable:hover,
  a .uagb-infobox__content-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 
      0 12px 24px rgba(0, 0, 0, 0.12),
      0 4px 8px rgba(0, 0, 0, 0.08);
  }
  
  .uagb-infobox__content-wrap:has(a) .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[onclick] .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[data-link] .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap.clickable .uagb-ifb-icon-wrap,
  a .uagb-infobox__content-wrap .uagb-ifb-icon-wrap {
    transform-origin: center;
  }
  
  .uagb-infobox__content-wrap:has(a):hover .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[onclick]:hover .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[data-link]:hover .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap.clickable:hover .uagb-ifb-icon-wrap,
  a .uagb-infobox__content-wrap:hover .uagb-ifb-icon-wrap {
    transform: scale(1.05) rotate(3deg);
  }
}

/* Efeito para dispositivos touch - APENAS para cards com links */
@media (hover: none) and (pointer: coarse) {
  .uagb-infobox__content-wrap:has(a):active,
  .uagb-infobox__content-wrap[onclick]:active,
  .uagb-infobox__content-wrap[data-link]:active,
  .uagb-infobox__content-wrap.clickable:active,
  a .uagb-infobox__content-wrap:active {
    transform: translateY(-4px) scale(0.98);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

/* Acessibilidade - movimento reduzido - APENAS para cards com links */
@media (prefers-reduced-motion: reduce) {
  .uagb-infobox__content-wrap:has(a),
  .uagb-infobox__content-wrap[onclick],
  .uagb-infobox__content-wrap[data-link],
  .uagb-infobox__content-wrap.clickable,
  a .uagb-infobox__content-wrap,
  .uagb-infobox__content-wrap:has(a)::before,
  .uagb-infobox__content-wrap[onclick]::before,
  .uagb-infobox__content-wrap[data-link]::before,
  .uagb-infobox__content-wrap.clickable::before,
  a .uagb-infobox__content-wrap::before,
  .uagb-infobox__content-wrap:has(a)::after,
  .uagb-infobox__content-wrap[onclick]::after,
  .uagb-infobox__content-wrap[data-link]::after,
  .uagb-infobox__content-wrap.clickable::after,
  a .uagb-infobox__content-wrap::after,
  .uagb-infobox__content-wrap:has(a) .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[onclick] .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[data-link] .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap.clickable .uagb-ifb-icon-wrap,
  a .uagb-infobox__content-wrap .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap:has(a) .uagb-ifb-icon-wrap svg,
  .uagb-infobox__content-wrap[onclick] .uagb-ifb-icon-wrap svg,
  .uagb-infobox__content-wrap[data-link] .uagb-ifb-icon-wrap svg,
  .uagb-infobox__content-wrap.clickable .uagb-ifb-icon-wrap svg,
  a .uagb-infobox__content-wrap .uagb-ifb-icon-wrap svg,
  .uagb-infobox__content-wrap:has(a) .uagb-ifb-title,
  .uagb-infobox__content-wrap[onclick] .uagb-ifb-title,
  .uagb-infobox__content-wrap[data-link] .uagb-ifb-title,
  .uagb-infobox__content-wrap.clickable .uagb-ifb-title,
  a .uagb-infobox__content-wrap .uagb-ifb-title {
    transition: none;
    animation: none;
  }
  
  .uagb-infobox__content-wrap:has(a):hover,
  .uagb-infobox__content-wrap[onclick]:hover,
  .uagb-infobox__content-wrap[data-link]:hover,
  .uagb-infobox__content-wrap.clickable:hover,
  a .uagb-infobox__content-wrap:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .uagb-infobox__content-wrap:has(a):hover .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[onclick]:hover .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap[data-link]:hover .uagb-ifb-icon-wrap,
  .uagb-infobox__content-wrap.clickable:hover .uagb-ifb-icon-wrap,
  a .uagb-infobox__content-wrap:hover .uagb-ifb-icon-wrap {
    transform: none;
  }
}

/* Indicador visual adicional de clicabilidade - APENAS para cards com links */
.uagb-infobox__content-wrap:has(a)::after,
.uagb-infobox__content-wrap[onclick]::after,
.uagb-infobox__content-wrap[data-link]::after,
.uagb-infobox__content-wrap.clickable::after,
a .uagb-infobox__content-wrap::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: rgba(83, 104, 120, 0.3);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 4;
}

.uagb-infobox__content-wrap:has(a):hover::after,
.uagb-infobox__content-wrap[onclick]:hover::after,
.uagb-infobox__content-wrap[data-link]:hover::after,
.uagb-infobox__content-wrap.clickable:hover::after,
a .uagb-infobox__content-wrap:hover::after {
  opacity: 1;
  transform: scale(1.2);
  background: rgba(83, 104, 120, 0.6);
}

/* ============ FIM DOS EFEITOS DE HOVER PARA CARDS ============ */

/* ========================================
   CARDS DE ÁREAS DE ATUAÇÃO - ANIMAÇÃO SUTIL
======================================== */

/* Cards das áreas de atuação */
.area-atuacao-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Removido: box-shadow e border para eliminar molduras */
}

/* Efeito hover sutil - apenas elevação e mudança de cor de fundo */
.area-atuacao-card:hover {
    transform: translateY(-8px);
    background-color: #f8f9fa;
    /* Removido: box-shadow para eliminar sombras/molduras */
}

/* Ícones dos cards */
.area-atuacao-card .area-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.area-atuacao-card:hover .area-icon {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Títulos dos cards */
.area-atuacao-card .area-title {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #35424a;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.area-atuacao-card:hover .area-title {
    color: #536878;
    transform: translateY(-2px);
}

/* Descrições dos cards */
.area-atuacao-card .area-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    transition: all 0.3s ease;
}

.area-atuacao-card:hover .area-description {
    color: #555;
}

/* Container da metodologia */
.metodologia-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Steps da metodologia */
.metodologia-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    /* Removido: box-shadow e border */
}

.metodologia-step:hover {
    background-color: #f8f9fa;
    transform: translateX(8px);
    /* Removido: box-shadow para eliminar molduras */
}

/* Números dos steps */
.metodologia-step .step-number {
    background: linear-gradient(135deg, #35424a 0%, #536878 100%);
    color: #ffffff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.metodologia-step:hover .step-number {
    transform: scale(1.1);
    background: linear-gradient(135deg, #536878 0%, #35424a 100%);
}

/* Conteúdo dos steps */
.metodologia-step .step-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #35424a;
    margin: 0 0 0.5rem 0;
    transition: all 0.3s ease;
}

.metodologia-step:hover .step-content h3 {
    color: #536878;
}

.metodologia-step .step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    transition: all 0.3s ease;
}

.metodologia-step:hover .step-content p {
    color: #555;
}

/* Responsividade */
@media (max-width: 768px) {
    .area-atuacao-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .area-atuacao-card .area-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .area-atuacao-card .area-title {
        font-size: 1.2rem;
    }
    
    .metodologia-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .metodologia-step:hover {
        transform: translateY(-4px);
    }
    
    .metodologia-step .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .area-atuacao-card {
        padding: 1.2rem;
    }
    
    .area-atuacao-card .area-title {
        font-size: 1.1rem;
    }
    
    .area-atuacao-card .area-description {
        font-size: 0.9rem;
    }
    
    .metodologia-container {
        gap: 1.5rem;
    }
    
    .metodologia-step {
        padding: 1.2rem;
    }
}

/* Animação para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .area-atuacao-card,
    .area-atuacao-card .area-icon,
    .area-atuacao-card .area-title,
    .area-atuacao-card .area-description,
    .metodologia-step,
    .metodologia-step .step-number,
    .metodologia-step .step-content h3,
    .metodologia-step .step-content p {
        transition: none;
        transform: none;
    }
    
    .area-atuacao-card:hover,
    .metodologia-step:hover {
        transform: none;
    }
    
    .area-atuacao-card:hover .area-icon,
    .metodologia-step:hover .step-number {
        transform: none;
    }
}





/* ========================================
   TEMPLATE DE POST INDIVIDUAL
======================================== */

/* Wrapper principal com background */
.single-post-wrapper {
    background-color: #dfe0e2;
    min-height: 100vh;
    padding: 2rem 0;
}

/* Container boxed */
.single-post-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* Artigo principal */
.single-post-article {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 4rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.single-post-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Cabeçalho do post */
.single-post-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 2rem;
}

.single-post-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #35424a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Meta informações */
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.single-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-post-meta svg {
    color: #35424a;
    flex-shrink: 0;
}

.single-post-meta a {
    color: #35424a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-post-meta a:hover {
    color: #536878;
}

/* Imagem destacada */
.single-post-thumbnail {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-thumbnail .featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.single-post-thumbnail:hover .featured-image {
    transform: scale(1.02);
}

/* Conteúdo do post */
.single-post-content {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: justify;
    hyphens: auto;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: #35424a;
    font-family: 'Merriweather', serif;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-content h2 {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.single-post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #35424a 0%, #536878 100%);
    border-radius: 2px;
}

.single-post-content h3 {
    font-size: 1.5rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-post-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

/* Listas com estilo jurídico personalizado */
.single-post-content ul li::marker {
    color: #35424a;
    font-weight: 600;
}

.single-post-content ol li {
    counter-increment: list-counter;
}

.single-post-content ol li::marker {
    color: #35424a;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}

/* Listas aninhadas com melhor hierarquia */
.single-post-content ul ul,
.single-post-content ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.single-post-content ul ul li::marker {
    content: '▶';
    color: #536878;
    font-size: 0.8rem;
}

/* Destaque para parágrafos importantes */
.single-post-content p.destaque {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #35424a;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-post-content blockquote {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: none;
    border-left: 4px solid #35424a;
    padding: 2rem 1.5rem 2rem 3rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: #35424a;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    line-height: 1.6;
}

.single-post-content blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: #35424a;
    opacity: 0.3;
    font-family: 'Merriweather', serif;
    line-height: 1;
}

.single-post-content blockquote::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #35424a 0%, transparent 100%);
    border-radius: 0 0 8px 8px;
}

/* Tabelas com estilo jurídico */
.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.single-post-content table th,
.single-post-content table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.single-post-content table th {
    background: linear-gradient(135deg, #35424a 0%, #536878 100%);
    color: #ffffff;
    font-weight: 600;
    font-family: 'Merriweather', serif;
}

.single-post-content table tr:hover {
    background-color: #f8f9fa;
}

/* Código e elementos preformatados */
.single-post-content code {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #35424a;
    border: 1px solid #e9ecef;
}

.single-post-content pre {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    border-left: 4px solid #35424a;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-post-content pre code {
    background: none;
    padding: 0;
    border: none;
    font-size: 0.9rem;
}

/* Links de paginação */
.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background-color: #35424a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.page-links a:hover {
    background-color: #536878;
}

/* Tags do post */
.single-post-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.single-post-tags h4 {
    color: #35424a;
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.single-post-tags .tag {
    display: inline-block;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #35424a;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.single-post-tags .tag::before {
    content: '#';
    font-weight: 600;
    margin-right: 0.25rem;
    opacity: 0.7;
}

.single-post-tags .tag:hover {
    background: linear-gradient(135deg, #35424a 0%, #536878 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 66, 74, 0.3);
    border-color: #35424a;
}

/* Disclaimer Legal */
.legal-disclaimer {
    background: linear-gradient(135deg, #fff5f5 0%, #fff8f8 100%);
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.disclaimer-icon {
    flex-shrink: 0;
    color: #dc2626;
    margin-top: 0.2rem;
}

.disclaimer-text h5 {
    color: #dc2626;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.disclaimer-text p {
    color: #7f1d1d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Call to Action */
.single-post-cta {
    background: linear-gradient(135deg, #35424a 0%, #536878 100%);
    color: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.single-post-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

.single-post-cta .cta-content {
    position: relative;
    z-index: 2;
}

.single-post-cta h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.single-post-cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button.primary {
    background-color: #ffffff;
    color: #35424a;
}

.cta-button.primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-button.secondary:hover {
    background-color: #ffffff;
    color: #35424a;
    transform: translateY(-2px);
}

/* Navegação entre posts */
.single-post-navigation {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #35424a;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: #35424a;
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.nav-title {
    display: block;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
}

.nav-next {
    text-align: right;
}

/* Responsividade para Tablet */
@media (max-width: 1024px) {
    .single-post-container {
        max-width: 90%;
        padding: 0 1.5rem;
    }
    
    .single-post-article {
        padding: 3rem;
    }
    
    .single-post-content table {
        font-size: 0.9rem;
    }
    
    .single-post-content table th,
    .single-post-content table td {
        padding: 0.75rem;
    }
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    .single-post-wrapper {
        padding: 1rem 0;
    }
    
    .single-post-container {
        padding: 0 1rem;
    }
    
    .single-post-article {
        padding: 2rem;
    }
    
    .single-post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .single-post-content {
        font-size: 1rem;
        line-height: 1.7;
        text-align: left;
    }
    
    .single-post-content h2 {
        font-size: 1.5rem;
    }
    
    .single-post-content h3 {
        font-size: 1.3rem;
    }
    
    .single-post-content blockquote {
        padding: 1.5rem 1rem 1.5rem 2.5rem;
        margin: 1.5rem 0;
        font-size: 1rem;
    }
    
    .single-post-content blockquote::before {
        font-size: 2.5rem;
        top: 0.2rem;
        left: 0.5rem;
    }
    
    .single-post-content table {
        font-size: 0.85rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .single-post-content table th,
    .single-post-content table td {
        padding: 0.5rem;
    }
    
    .single-post-cta {
        padding: 2rem;
    }
    
    .single-post-cta h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .disclaimer-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .disclaimer-icon {
        align-self: flex-start;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .single-post-article {
        padding: 1.5rem;
    }
    
    .single-post-cta {
        padding: 1.5rem;
    }
    
    .single-post-cta h3 {
        font-size: 1.5rem;
    }
    
    .single-post-navigation {
        padding: 1.5rem;
    }
}

/* Animação para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .single-post-article,
    .single-post-thumbnail .featured-image,
    .cta-button,
    .nav-previous a,
    .nav-next a {
        transition: none;
        transform: none;
    }
    
    .single-post-article:hover,
    .single-post-thumbnail:hover .featured-image,
    .cta-button:hover,
    .nav-previous a:hover,
    .nav-next a:hover {
        transform: none;
    }
}
