/* ==========================================================================
   DESIGN SYSTEM - HORIZON X
   Estilo Premium para Agência de Marketing Digital & Branding
   ========================================================================== */

/* 1. Variáveis de Cores e Fontes */
:root {
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Paleta de Cores Premium (Escuro + Vinho com Brilho) */
  --bg-primary: #07090e;      /* Azul escuro profundo, quase preto */
  --bg-secondary: #0c0f17;    /* Azul escuro intermediário para seções */
  --bg-card: #121824;         /* Fundo de cards de serviço e formulários */
  --bg-glass: rgba(18, 24, 36, 0.7);
  
  --primary: #b31b34;         /* Vinho Horizon X */
  --primary-hover: #ff3355;   /* Vermelho brilhante (shimmering rubi) para hover */
  --primary-rgb: 179, 27, 52;
  
  --text-main: #f8fafc;       /* Branco off-white para excelente contraste */
  --text-muted: #94a3b8;      /* Cinza azulado para subtítulos e textos auxiliares */
  --text-dark: #0f172a;       /* Cor escura para textos sobre fundos claros */

  --border-light: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(179, 27, 52, 0.2);
  --border-gold-hover: rgba(179, 27, 52, 0.5);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 25px rgba(255, 51, 85, 0.18);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Alinhamento exato para links internos */
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layout Utilitários */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

ul {
  list-style: none;
}

/* 3. Componentes de UI Recorrentes */
/* Tags/Badges */
.badge, .section-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.1);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-tag {
  margin-bottom: 15px;
}

/* Títulos de Seção */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

/* Botões Customizados */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* Botão Primário (Vinho Sólido) */
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

/* Botão Secundário (Azul Escuro / Destaque Suave) */
.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Botão Outline */
.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.mt-4 { margin-top: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.hidden { display: none !important; }

/* 4. Estilos do Header (Barra de Navegação) */
#website-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background-color: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

#website-header.scrolled {
  height: 70px;
  background-color: rgba(7, 9, 14, 0.95);
  box-shadow: var(--shadow-md);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 38px;
  width: auto;
  border-radius: 6px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Menu de Navegação */
.nav-menu ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon-btn {
  font-size: 1.25rem;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
}

.social-icon-btn:hover {
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.1);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

/* Menu Mobile Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-normal);
}

/* Responsividade Menu Mobile */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    padding: 100px 40px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }
  
  /* Animação Hamburger para X */
  .mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
}

/* 5. Hero Section (Atmosfera Dark Luxury & Galáxia Profunda Escura) */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #020306;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Canvas 3D Interativo (Galáxia Cósmica Vívida) */
.hero-spline-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(2, 3, 6, 0.05) 0%, rgba(2, 3, 6, 0.75) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Luzes Ambientais Difusas Minimalistas (Sombrias & Elegantes) */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}

.glow-blob.blob-1 {
  top: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: rgba(30, 40, 60, 0.12); /* Tom Slate / Titânio Escuro */
  animation: blobGlow 14s ease-in-out infinite alternate;
}

.glow-blob.blob-2 {
  bottom: 10%;
  left: 10%;
  width: 450px;
  height: 450px;
  background: rgba(140, 20, 30, 0.08); /* Tom Rubi Sombra Sutil */
  animation: blobGlow 16s ease-in-out 2s infinite alternate;
}

@keyframes blobGlow {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.15) translate(30px, -20px); }
  100% { transform: scale(0.95) translate(-20px, 30px); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 95px 5% 40px 5%;
  min-height: 88vh;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/* Coluna Esquerda: Conteúdo & Hierarquia Visual Executive Dark */
.hero-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.hero-badge i {
  color: #e2e8f0;
}

.hero-headline {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.08;
  font-family: var(--font-title);
  margin-bottom: 20px;
}

.hero-headline .gradient-accent {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 40%, #991b1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #808ea3;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 530px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, #991b1e 0%, #7f1d1d 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(153, 27, 30, 0.25);
  transition: all 0.3s ease;
}

.btn-whatsapp-cta:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1e 100%);
  box-shadow: 0 10px 28px rgba(185, 28, 28, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-cta {
  background: rgba(255, 255, 255, 0.02);
  color: #e2e8f0;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-normal);
}

.btn-outline-cta:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mini Métricas de Autoridade */
.hero-mini-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Coluna Direita: Círculo Esférico 3D Sofisticado Dark Obsidian */
.hero-right-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-avatar-wrapper {
  position: relative;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-halo-circle {
  position: relative;
  width: 100%;
  height: 100%;
  animation: floatBreathing 6s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes floatBreathing {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(-3px); }
}

/* Esfera 3D Portal Escura (Executive Dark Obsidian com Rim Light Sutil) */
.circle-content-area {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 370px;
  height: 370px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(
    circle at 35% 25%,
    rgba(35, 42, 58, 0.5) 0%,
    rgba(15, 19, 28, 0.85) 50%,
    rgba(4, 6, 12, 0.98) 90%
  );
  box-shadow: 
    inset 0 -25px 50px rgba(0, 0, 0, 0.98),
    inset 0 2px 20px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1;
  display: block;
}

/* Marca d'Água do Logo Horizon X dentro do Círculo com Blend Discreto */
.circle-logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  width: 55%;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.15));
}

/* Imagem 3D dos Sócios na Frente do Círculo (Rostos 100% Reparados & Nítidos) */
.circle-avatar-body {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) scale(1.05);
  width: 100%;
  height: auto;
  pointer-events: none;
  object-fit: contain;
  z-index: 3;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 98%);
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.85));
}

/* Botão de WhatsApp do Bloco Direito */
.btn-whatsapp-cta {
  background-color: #1e293b; /* Azul/cinza escuro sólido */
  color: #ffffff;
  border-radius: 50px; /* Arredondado (pill shape) */
  font-size: 0.95rem;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-cta:hover {
  background-color: #334155;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp-cta i {
  color: #25d366; /* Ícone do WhatsApp verde */
  font-size: 1.25rem;
}

/* ==========================================================================
   SEÇÃO PORTFÓLIO INTERATIVO (8 PROJETOS - COMPOSIÇÃO 3D FLUIDA)
   ========================================================================== */


/* Botão Flutuante do WhatsApp (Canto Inferior Direito) */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* Verde WhatsApp */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  color: #ffffff;
}

.whatsapp-floating-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsappPulse 2s infinite;
  opacity: 0;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Botões de Controle de Música de Fundo */
.music-icon-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  cursor: pointer;
  outline: none;
  transition: var(--transition-normal);
}

.music-icon-btn.playing {
  color: #ff3355;
  border-color: rgba(255, 51, 85, 0.4);
  background-color: rgba(255, 51, 85, 0.1);
  box-shadow: 0 0 12px rgba(255, 51, 85, 0.3);
}

.music-floating-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 52px;
  height: 52px;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.music-floating-btn:hover {
  transform: scale(1.1);
  border-color: var(--primary);
  color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(179, 27, 52, 0.3);
}

.music-floating-btn.playing {
  border-color: #ff3355;
  color: #ff3355;
  box-shadow: 0 0 20px rgba(255, 51, 85, 0.4);
  animation: musicGlowPulse 2s infinite alternate;
}

@keyframes musicGlowPulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 51, 85, 0.2);
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 51, 85, 0.6);
  }
}

/* Elementos Estéticos de Fundo */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.12); /* Purple Glow */
  top: 15%;
  left: 5%;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: rgba(14, 165, 233, 0.12); /* Blue Glow */
  bottom: 10%;
  right: 5%;
}

/* Responsividade Mobile e Tablet */
@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
    gap: 30px;
    min-height: auto;
  }
  
  .hero-title-top {
    font-size: 3.8rem;
    text-align: center;
    width: 100%;
  }
  
  .hero-bottom-left-wrapper {
    padding-left: 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title-bottom {
    font-size: 3.8rem;
    text-align: center;
    margin-bottom: 16px;
  }
  
  .hero-right-block {
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
  }
  
  .btn-whatsapp-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  
  .hero-abstract-circle {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-title-top,
  .hero-title-bottom {
    font-size: 2.8rem;
  }
  
  .hero-bottom-agency-text {
    font-size: 0.95rem;
  }
  
  .hero-desc {
    font-size: 1.05rem;
  }
}

/* 6. Seção Sobre Nós */
.about-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* Apresentação Stats Grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}
@media (max-width: 576px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}
.about-stat-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  opacity: 0;
  transition: var(--transition-normal);
}
.about-stat-card:hover::before {
  opacity: 1;
}
.about-stat-card:hover {
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}
.about-stat-number {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-hover);
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.about-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

.about-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

.glass-card-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(179, 27, 52, 0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

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

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
  width: 100%;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  background-color: rgba(var(--primary-rgb), 0.1);
  border: 1px solid var(--border-gold);
  color: var(--primary);
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-text h3 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 7. Seção Serviços (Cards) */
.services-section {
  background-color: var(--bg-primary);
}

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

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

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

.service-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-gold);
}

.card-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #000;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  opacity: 0.85;
}

.service-card:hover .card-img {
  transform: scale(1.08);
  opacity: 1;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 30%, rgba(18, 24, 36, 0.9) 100%);
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Ícones dos Cards de Serviços */
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid var(--border-gold);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}
.service-card:hover .card-icon {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.35);
}

/* Cabeçalho de Artigo do Blog em Degradê */
.card-gradient-header {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(var(--primary-rgb), 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  font-size: 3rem;
  color: var(--primary-hover);
  transition: var(--transition-normal);
}
.service-card:hover .card-gradient-header {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.25) 0%, var(--primary) 100%);
  color: #ffffff;
}
.card-gradient-header i {
  transition: var(--transition-normal);
}
.service-card:hover .card-gradient-header i {
  transform: scale(1.1) rotate(-5deg);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.service-card:hover .card-title {
  color: var(--primary);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.5;
}

.card-link {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Stretched Link: torna todo o card clicável */
.card-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

.card-link i {
  transition: var(--transition-fast);
}

.service-card:hover .card-link i {
  transform: translateX(4px);
}

/* 8. Seção Guia Gratuito */
.guide-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.guide-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .guide-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

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

.guide-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px 0;
  width: 100%;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.benefit-item i {
  color: var(--primary);
  font-size: 1.15rem;
}

.guide-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.guide-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-slow);
}

.guide-image-wrapper:hover .guide-img {
  transform: translateY(-5px) rotate(1deg);
}

.floating-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--primary);
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: float 3s ease-in-out infinite;
}

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

/* 9. Seção Contato / Formulário */
.contact-section {
  background-color: var(--bg-primary);
}

.contact-container {
  max-width: 800px;
}

.contact-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  position: relative;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 85px;
    padding-bottom: 50px;
  }

  .hero-left-col {
    align-items: center;
    text-align: center;
  }

  .hero-headline {
    font-size: 3.2rem;
  }

  .hero-subtext {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-mini-metrics {
    justify-content: center;
  }

  .hero-avatar-wrapper {
    width: 340px;
    height: 340px;
  }
}

@media (max-width: 576px) {
  .hero-headline {
    font-size: 2.4rem;
  }

  .hero-avatar-wrapper {
    width: 280px;
    height: 280px;
  }

  .btn-whatsapp-cta, .btn-outline-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 30px 20px;
  }
}

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

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

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

.form-group label {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.textarea-icon {
  top: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 14px 20px 14px 48px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-normal);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.1);
}

.contact-form input:focus + .input-icon,
.contact-form textarea:focus + .input-icon {
  color: var(--primary);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Sucesso do Form */
.form-success-message {
  text-align: center;
  padding: 40px 10px;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-success-message h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.form-success-message p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 10. Footer (Rodapé) */
.footer-area {
  background-color: #040508;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 0 0;
}

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

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

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

.brand-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.footer-socials a:hover {
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.1);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.footer-links h3,
.footer-contact-info h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

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

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

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact-info i {
  color: var(--primary);
  font-size: 1rem;
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   EFEITOS DE ANIMAÇÃO DE SCROLL (REVEAL - SEMPRE VISÍVEL)
   ========================================================================== */
.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-card {
  opacity: 1;
  transform: translate(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ==========================================================================
   TESTIMONIALS & CALENDLY CUSTOM STYLING
   ========================================================================== */
.testimonial-card {
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-gold);
}

.quote-icon {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 15px;
}

.testimonial-author {
  margin-top: 25px;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Seção de Métricas de Case de Sucesso */
.case-results-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.case-badge-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.case-badge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: var(--transition-normal);
}
.case-badge-card:hover::before {
  background: var(--primary-hover);
  box-shadow: 0 0 10px rgba(255, 51, 85, 0.5);
}
.case-badge-card:hover {
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateX(5px);
}
.case-stat-highlight {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-hover);
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.case-stat-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

@media (min-width: 992px) {
  .col-span-full-desktop {
    grid-column: span 3;
  }
}

/* ==========================================================================
   SEÇÃO PORTFÓLIO INTERATIVO (HORIZONTAL TRACK GALLERY)
   ========================================================================== */
.portfolio-section {
  position: relative;
  background-color: #020408;
  color: #ffffff;
  padding: 100px 0;
  overflow: hidden;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.portfolio-header {
  margin-bottom: 0;
}

.portfolio-nav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.nav-pill {
  background: transparent;
  border: none;
  color: #64748b;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-pill:hover {
  color: #ffffff;
}

.nav-pill.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(184, 0, 0, 0.4);
}

.nav-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.arrow-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.portfolio-horizontal-track-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 5% 40px 5%;
  position: relative;
  z-index: 5;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.portfolio-horizontal-track-container::-webkit-scrollbar {
  height: 6px;
}

.portfolio-horizontal-track-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.portfolio-horizontal-track-container::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.portfolio-horizontal-track {
  display: flex;
  gap: 32px;
  width: max-content;
}

.portfolio-card-item {
  flex: 0 0 680px;
  max-width: 85vw;
  scroll-snap-align: center;
  perspective: 1000px;
}

.card-item-inner {
  background-color: #050810;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.portfolio-card-item:hover .card-item-inner {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(153, 27, 30, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(153, 27, 30, 0.2);
}

.card-item-media {
  background-color: #07090e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.card-item-media .mockup-img-container {
  height: 100%;
  min-height: 280px;
}

.portfolio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card-item:hover .portfolio-card-img {
  transform: scale(1.05);
}

.card-item-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-item-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0;
  line-height: 1.3;
}

.card-item-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .portfolio-card-item {
    flex: 0 0 320px;
  }
  .card-item-inner {
    grid-template-columns: 1fr;
  }
  .card-item-media .mockup-img-container {
    min-height: 200px;
  }
}

.portfolio-bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 32vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.portfolio-tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

.blob-portfolio {
  top: 30%;
  right: 20%;
  width: 500px;
  height: 500px;
  background: rgba(184, 0, 0, 0.12);
  filter: blur(140px);
}

.portfolio-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.portfolio-progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-bottom: 32px;
  overflow: hidden;
}

.portfolio-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #00f0ff 100%);
  border-radius: 4px;
  transition: width 0.4s ease-out;
}

/* ==========================================================================
   SEÇÃO MARQUEE INSIGHTS & AVALIAÇÕES (ROLANDO EM SENTIDOS OPOSTOS)
   ========================================================================== */
.marquee-showcase-section {
  position: relative;
  background-color: #020408;
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee-block {
  margin-bottom: 24px;
}

.marquee-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.marquee-label {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marquee-label i {
  color: #991b1e;
}

.marquee-label i.text-gold {
  color: #fbbf24;
}

.marquee-link {
  font-size: 0.85rem;
  color: #94a3b8;
  font-family: var(--font-title);
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* Blog marquee: Direita para Esquerda (Right to Left) */
.marquee-track-left {
  animation: marqueeLeft 32s linear infinite;
}

/* Avaliações marquee: Esquerda para Direita (Left to Right) */
.marquee-track-right {
  animation: marqueeRight 36s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

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

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

/* Card Pequeno do Blog */
.marquee-blog-card {
  flex: 0 0 340px;
  background: #050810;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.marquee-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(153, 27, 30, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(153, 27, 30, 0.2);
}

.marquee-card-link {
  display: flex;
  flex-direction: row;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.marquee-card-img-wrap {
  width: 110px;
  min-width: 110px;
  height: 100%;
  min-height: 95px;
  overflow: hidden;
  background-color: #020306;
}

.marquee-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.marquee-blog-card:hover .marquee-card-img-wrap img {
  transform: scale(1.08);
}

.marquee-card-content {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.marquee-card-date {
  font-size: 0.72rem;
  color: #991b1e;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.marquee-card-title {
  font-family: var(--font-title);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Pequeno de Avaliação */
.marquee-review-card {
  flex: 0 0 330px;
  background: #050810;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.marquee-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(251, 191, 36, 0.15);
}

.review-stars {
  font-size: 0.75rem;
  color: #fbbf24;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author {
  font-size: 0.8rem;
  color: #94a3b8;
}

.review-author strong {
  color: #ffffff;
  font-family: var(--font-title);
}

/* ==========================================================================
   AJUSTE RESPONSIVO MOBILE - POSICIONAMENTO DA FOTO DOS SÓCIOS ABAIXO DO TÍTULO
   ========================================================================== */
@media (max-width: 991px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-top: 85px;
  }

  .hero-left-col {
    display: contents; /* Permite reordenar os elementos de texto e a foto dos sócios no mobile */
  }

  .hero-badge {
    order: 1;
    margin-bottom: 12px;
  }

  .hero-headline {
    order: 2;
    font-size: 2.6rem;
    margin-bottom: 14px;
    text-align: center;
  }

  .hero-right-col {
    order: 3; /* A foto dos Sócios fica posicionada LOGO ABAIXO do título principal */
    width: 100%;
    margin: 10px 0 20px 0;
  }

  .hero-avatar-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .circle-content-area {
    top: 45px;
    width: 250px;
    height: 250px;
  }

  .hero-subtext {
    order: 4;
    text-align: center;
    max-width: 100%;
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    order: 5;
    justify-content: center;
    width: 100%;
    margin-bottom: 28px;
  }

  .hero-mini-metrics {
    order: 6;
    justify-content: center;
    width: 100%;
  }
}
