/* ========================================
   VARIÁVEIS DE CORES DO TEMA
   ======================================== */
:root {
  /* Azul principal do Bootstrap - usado em botões e destaques */
  --tech-primary: #0d6efd;

  /* Azul escuro profundo - cor de fundo principal do site (tema escuro) */
  --tech-dark: #0f172a;

  /* Azul quase preto - usado em gradientes e fundos mais escuros */
  --tech-darker: #020617;

  /* Azul claro ciano - usado em textos de destaque e elementos ativos */
  --tech-accent: #38bdf8;

  /* Efeito de brilho azul - usado em hover e sombras */
  --tech-glow: 0 0 15px rgba(13, 110, 253, 0.3);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Adiciona espaço no topo para compensar navbar fixa */
body {
  padding-top: 76px;
}

/* ========================================
   SEÇÃO HERO (TOPO DA PÁGINA)
   ======================================== */
/* Hero principal com gradiente escuro */
.hero-advanced {
  padding: 9rem 0 6rem;
  position: relative;
  overflow: hidden;
  /* Gradiente de azul escuro para azul muito escuro */
  background: linear-gradient(135deg, var(--tech-darker) 0%, var(--tech-dark) 100%);
  color: #fff;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Imagem de fundo do hero com opacidade reduzida */
.hero-advanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/static/img/hero-bg.jpg') center/cover;
  opacity: 0.15;
  /* 15% de opacidade para não ofuscar o texto */
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Título do hero - branco puro */
.hero-advanced .hero-title {
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
}

/* Texto descritivo - branco com 85% de opacidade para contraste suave */
.hero-advanced .lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   HERO DE PÁGINAS ESPECÍFICAS
   ======================================== */
/* Padrão unificado para páginas internas */
.hero-internal {
  padding: 1.8rem 0;
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  transition: background 0.5s ease, color 0.5s ease;
}

.hero-internal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.75));
  z-index: 1;
}

.hero-internal .container {
  position: relative;
  z-index: 2;
}

/* Variantes de Imagem de Fundo por Área */
.hero-assistencia {
  background-image: url('/static/img/assistencia-hero.jpg');
}

.hero-vendas {
  background-image: url('/static/img/sales.jpg');
}

.hero-automacao {
  background-image: url('/static/img/ai-automation.jpg');
}

.hero-dev {
  background-image: url('/static/img/development.jpg');
}

.hero-impressao {
  background-image: url('/static/img/printing-hero.png');
}

.hero-contato {
  background-image: url('/static/img/hero-bg.jpg');
}

.hero-3d {
  background-image: url('/static/img/3d-printing.png');
}

/* ========================================
   BARRA DE NAVEGAÇÃO (NAVBAR)
   ======================================== */
/* Navbar com fundo semi-transparente e efeito de vidro fosco */
.nav-tech {
  background: rgba(15, 23, 42, 0.75);
  /* Azul escuro com opacidade ajustada */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  /* Efeito de desfoque mais intenso */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Borda sutil */
  transition: background 0.5s ease, border-color 0.5s ease;
}

/* Navbar quando a página é rolada - fica mais transparente */
.nav-tech.scrolled {
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(12px);
}

/* Link ativo na navbar - cor ciano com brilho */
.navbar-nav .nav-link.active {
  color: var(--tech-accent) !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  position: relative;
}

/* Linha embaixo do link ativo */
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--tech-accent);
  box-shadow: 0 0 8px var(--tech-accent);
}

/* ========================================
   BOTÕES E INTERAÇÕES
   ======================================== */
/* Botão fantasma (ghost) - fundo semi-transparente */
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff
}

/* ========================================
   CARDS E ELEMENTOS DESTACADOS
   ======================================== */
/* Mockup de dispositivos com animação de hover */
.device-mockup img {
  max-width: 100%;
  transform: translateY(0);
  transition: transform .5s ease;
}

.device-mockup img:hover {
  transform: translateY(-6px) scale(1.01);
  /* Sobe levemente e aumenta */
}

.feature-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Cards de funcionalidades - TEMA ESCURO com efeito glassmorphism */
.feature-card {
  /* Borda branca suave */
  background: rgba(15, 23, 42, 0.95);
  /* Fundo azul escuro quase sólido para evitar artefatos visuais */
  /* backdrop-filter removido para corrigir manchas em alguns navegadores */
  color: #e2e8f0;
  /* Texto cinza claro */
  position: relative;
}

/* Hover nos cards - sobe e adiciona brilho azul */
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tech-glow);
  /* Brilho azul ao redor */
  border-color: var(--tech-primary);
  /* Borda azul mais intensa */
  background: rgba(30, 41, 59, 0.6);
  /* Fundo mais opaco */
}

/* Títulos dos cards - branco puro */
.feature-card h5 {
  color: white;
}

/* Parágrafos dos cards - cinza claro com opacidade */
.feature-card p {
  color: rgba(226, 232, 240, 0.8) !important;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border-radius: 8px;
}

.feature-icon svg {
  width: 64px;
  height: 64px
}

.section-header h2 {
  font-weight: 700;
}

.about-graphic {
  max-width: 320px
}

.map-placeholder {
  color: #777
}

/* cards and transitions */
.feature-card,
.card {
  transition: transform .25s ease, box-shadow .25s ease, background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.feature-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11, 22, 70, 0.12);
}

/* responsive tweaks */
@media (min-width: 992px) {
  .hero-advanced .hero-title {
    font-size: 2.8rem
  }
}

/* small utilities */
.hero-features li {
  margin-bottom: .35rem;
  color: rgba(255, 255, 255, 0.9)
}

/* reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* form and footer */
footer {
  background: #0b1220;
  color: #9fb0d6
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: #fbfdff;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* ========================================
   CLASSES DE FUNDO (BACKGROUNDS)
   ======================================== */
/* Fundo escuro - azul muito escuro com texto branco */
.bg-tech-dark {
  background-color: var(--tech-dark);
  color: white;
}

/* Fundo claro - cinza muito claro com texto escuro */
.bg-tech-light {
  background-color: #f8fafc;
  color: #1e293b;
}

/* Fundo com gradiente - azul escuro degradê para cinza azulado */
.bg-tech-gradient {
  background: linear-gradient(180deg, var(--tech-dark) 0%, #1e293b 100%);
}

/* Fundo com padrão de pontos - usado na seção "sobre" */
.bg-tech-pattern {
  background-color: var(--tech-dark);
  background-image: radial-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Fundo azul royal - gradiente azul escuro */
.bg-tech-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  color: white;
}

/* Maintenance highlight */
.maintenance-highlight {
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.06), rgba(7, 16, 50, 0.02));
  border-radius: 12px;
  margin-top: 24px;
  padding: 32px;
}

.maintenance-highlight h2 {
  font-weight: 700;
  color: #071032
}

.maintenance-highlight p.lead {
  color: #23304a
}

.maintenance-highlight img {
  max-height: 320px;
  object-fit: cover
}

/* Emphasis for primary area */
.primary-badge {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: .85rem;
  margin-bottom: .75rem
}

/* Botão flutuante WhatsApp */
#whatsapp-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
  text-decoration: none;
  animation: pulse-whatsapp 10s infinite ease-in-out
}

#whatsapp-floating svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: #fff
}

@media(max-width:576px) {
  #whatsapp-floating {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px
  }
}

@keyframes pulse-whatsapp {

  0%,
  100% {
    transform: scale(1);
  }

  5% {
    transform: scale(1.1);
  }

  10% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.1);
  }

  20% {
    transform: scale(1);
  }
}

/* AI Widget */
#ai-widget-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  /* Alinhado acima do WhatsApp */
  z-index: 1060;
  font-family: 'Inter', sans-serif;
}

#ai-toggle-btn {
  position: relative;
  width: 56px;
  /* Mesmo tamanho do WhatsApp */
  height: 56px;
  border-radius: 50%;
  background: #6366f1;
  color: #ffffff;
  border: 0 !important;
  padding: 0 !important;
  outline: none !important;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
  /* Animação sutil para chamar atenção */
  animation: ai-btn-pulse 4s ease-in-out infinite;
  overflow: hidden;
  /* Garante que a imagem não saia do círculo */
}

/* Imagem da Val dentro do botão */
.ai-robot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#ai-toggle-btn:hover .ai-robot-img {
  transform: scale(1.1);
}

.ai-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ajustes para Mobile - Alinhamento e Tamanho */
@media(max-width:576px) {
  #ai-widget-container {
    right: 14px;
    bottom: 80px;
    /* Acima do WhatsApp mobile */
  }

  #ai-toggle-btn {
    width: 48px;
    height: 48px;
  }
}

.ai-robot-icon {
  font-size: 24px !important;
  /* Ajuste proporcional */
}

/* Animação sutil de pulso no botão da IA */
@keyframes ai-btn-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.6);
  }
}

/* Para a animação quando o usuário passa o mouse */
#ai-toggle-btn:hover {
  transform: scale(1.1);
  animation: none;
  /* Para a animação de pulso */
}

.ai-icon {
  font-size: 24px;
  line-height: 1;
}

.ai-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

.ai-chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 450px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#ai-widget-container.open .ai-chat-window {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

#ai-widget-container.open #ai-toggle-btn {
  transform: rotate(45deg);
  background: #334155;
}

.ai-header {
  padding: 16px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ai-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #475569 transparent;
}

.ai-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease;
}

.ai-message.bot {
  align-self: flex-start;
  background: #334155;
  color: #e2e8f0;
  border-bottom-left-radius: 2px;
}

.ai-message.user {
  align-self: flex-end;
  background: #6366f1;
  color: white;
  border-bottom-right-radius: 2px;
}

.ai-input-area {
  padding: 12px;
  background: rgba(30, 41, 59, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 8px;
}

#ai-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 8px 16px;
  color: white;
  outline: none;
  font-size: 0.9rem;
}

#ai-input:focus {
  border-color: #6366f1;
}

#ai-send-btn {
  background: none;
  border: none;
  color: #6366f1;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 8px;
  transition: transform 0.2s;
}

#ai-send-btn:hover {
  transform: scale(1.2);
  color: #8b5cf6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #334155;
  border-radius: 12px;
  align-self: flex-start;
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

/* AI Chips */
.ai-suggestions {
  padding: 8px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(30, 41, 59, 0.95);
}

.ai-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-chip:hover {
  background: #6366f1;
  border-color: #6366f1;
  color: white;
  transform: translateY(-1px);
}

/* Botão para links dentro do chat da IA */
.ai-message a.ai-maps-btn {
  display: inline-block;
  padding: 10px 18px;
  margin-top: 8px;
  background-color: #4f46e5;
  /* Roxo um pouco mais escuro que o do usuário */
  color: white !important;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-message a.ai-maps-btn:hover {
  background-color: #6366f1;
  /* Cor principal no hover */
  color: white !important;
  transform: translateY(-2px);
}

/* Notification Badge */
.ai-notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  display: none;
  animation: pulse-red 2s infinite;
  z-index: 10;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Robot Animation */
.ai-robot-icon {
  display: inline-block;
  transition: transform 0.3s;
}

#ai-toggle-btn:hover .ai-robot-icon {
  animation: robot-wave 0.6s ease-in-out infinite alternate;
}

@keyframes robot-wave {
  0% {
    transform: rotate(0deg) translateY(0);
  }

  100% {
    transform: rotate(20deg) translateY(-2px);
  }
}

/* Balão Fixo "Vamos Te Ajudar" */
#ai-cta-bubble {
  position: absolute;
  bottom: 15px;
  /* Alinhado verticalmente com o botão */
  right: 65px;
  /* Espaçamento do botão */
  background: white;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 20px;
  border-bottom-right-radius: 4px;
  /* Ponta do balão */
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  z-index: 1059;
  pointer-events: none;
  /* Deixa clicar através dele se necessário */
  animation: float-bubble 3s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Novo: Balão para o WhatsApp */
#whatsapp-cta-bubble {
  position: absolute;
  top: 50%;
  right: 65px;
  transform: translateY(-50%);
  background: white;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 20px;
  border-bottom-right-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1059;
}

/* Mostrar balão apenas no HOVER do container */
#ai-widget-container:hover #ai-cta-bubble,
#whatsapp-floating:hover #whatsapp-cta-bubble {
  opacity: 1;
}

/* Esconder balão da IA se o chat estiver aberto */
#ai-widget-container.open #ai-cta-bubble {
  opacity: 0 !important;
}


@keyframes float-bubble {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Theme Transitions for other elements */
.bg-tech-dark,
.bg-tech-gradient,
.navbar-nav .nav-link,
.btn-ghost,
.portfolio-card,
.hero-advanced,
.hero-internal {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, background 0.5s ease;
}

/* Light Mode Styles */
body.light-mode {
  background-color: #f8fafc !important;
  color: #1e293b !important;
}

/* Fix Navbar Text in Light Mode */
body.light-mode .navbar-brand {
  color: #0f172a !important;
}

body.light-mode .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(0.2);
}

body.light-mode .bg-tech-dark {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
}

body.light-mode .bg-tech-gradient {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

body.light-mode .nav-tech {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .nav-tech.scrolled {
  background: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-mode .navbar-nav .nav-link {
  color: #475569 !important;
}

body.light-mode .navbar-nav .nav-link:hover,
body.light-mode .navbar-nav .nav-link.active {
  color: #0d6efd !important;
}

body.light-mode .btn-ghost {
  color: #475569 !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Hero Sections Light Mode Overrides */
body.light-mode .hero-advanced {
  background: linear-gradient(180deg, #e2e8f0 0%, #f8fafc 100%) !important;
  color: #1e293b !important;
}

body.light-mode .hero-advanced .hero-title {
  color: #0f172a !important;
}

body.light-mode .hero-advanced .lead {
  color: #475569 !important;
}

/* Hero Interno no Light Mode */
body.light-mode .hero-internal {
  color: #1e293b !important;
}

body.light-mode .hero-internal::before {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.75)) !important;
}

body.light-mode .feature-card,
body.light-mode .portfolio-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.light-mode .feature-card h5,
body.light-mode .portfolio-card h5 {
  color: #0f172a !important;
}

body.light-mode .feature-card p,
body.light-mode .portfolio-card p {
  color: #64748b !important;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid rgba(13, 110, 253, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-dot {
  position: absolute;
  left: -39px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--tech-primary);
  border-radius: 50%;
  border: 3px solid #0f172a;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.timeline-year {
  font-weight: 700;
  color: var(--tech-accent);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-content {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* Utility Classes */
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.my-6 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.bg-tech-pattern {
  background-color: var(--tech-dark);
  background-image: radial-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bg-tech-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  color: white;
}

/* ========================================
   MAPA DE LOCALIZAÇÃO
   ======================================== */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 400px;
}

/* Informações de contato na seção */
#contato h5 {
  color: white;
  font-weight: 600;
  margin-top: 2rem;
}

#contato p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

#contato p strong {
  color: white;
  font-weight: 600;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#copiar-endereco {
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

#copiar-endereco:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

#copiar-endereco svg {
  vertical-align: middle;
}


/* Service Cards Light Mode */
body.light-mode .service-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #1e293b !important;
}

/* Light Mode Section Overrides */
body.light-mode .bg-tech-pattern {
  background-color: #f8fafc !important;
  background-image: radial-gradient(rgba(15, 23, 42, 0.1) 1px, transparent 1px) !important;
}

body.light-mode .bg-tech-blue {
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Fix text colors in specific sections for light mode */
/* Fix text colors in specific sections for light mode */
body.light-mode #sobre .text-white,
body.light-mode #sobre .text-light,
body.light-mode #areas .text-white,
body.light-mode #portfolio .text-white,
body.light-mode #portfolio .text-white-50,
body.light-mode .bg-tech-gradient .text-white,
body.light-mode .hero-advanced .text-white,
body.light-mode .hero-internal .text-white {
  color: #1e293b !important;
}

/* Fix Hero Features List in Light Mode */
body.light-mode .hero-features li {
  color: #1e293b !important;
}

/* Fix Outline Buttons in Light Mode (White outline becomes Primary) */
body.light-mode .btn-outline-light {
  color: var(--tech-primary) !important;
  border-color: var(--tech-primary) !important;
}

body.light-mode .btn-outline-light:hover {
  background-color: var(--tech-primary) !important;
  color: #fff !important;
}

body.light-mode .timeline {
  border-left-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .timeline-dot {
  border-color: #fff !important;
}

body.light-mode .timeline-year {
  color: var(--tech-primary) !important;
}

/* Fix text-muted visibility in dark theme contexts */
.bg-tech-dark .text-muted,
.bg-tech-gradient .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Fix text-muted visibility in light theme contexts */
body.light-mode .bg-tech-dark .text-muted,
body.light-mode .bg-tech-gradient .text-muted {
  color: #64748b !important;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid rgba(13, 110, 253, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-dot {
  position: absolute;
  left: -39px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--tech-primary);
  border-radius: 50%;
  border: 3px solid #0f172a;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.timeline-year {
  font-weight: 700;
  color: var(--tech-accent);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-content {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* Utility Classes */
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.my-6 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.bg-tech-pattern {
  background-color: var(--tech-dark);
  background-image: radial-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bg-tech-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  color: white;
}

/* ========================================
   MAPA DE LOCALIZAÇÃO
   ======================================== */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 400px;
}

/* Informações de contato na seção */
#contato h5 {
  color: white;
  font-weight: 600;
  margin-top: 2rem;
}

#contato p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

#contato p strong {
  color: white;
  font-weight: 600;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#copiar-endereco {
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

#copiar-endereco:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

#copiar-endereco svg {
  vertical-align: middle;
}

/* ========================================
   SEÇÃO DE DEPOIMENTOS MODERNOS
   ======================================== */
.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Card de Depoimento - Base (Dark Mode) */
.testimonial-card {
  background: rgba(30, 41, 59, 0.4) !important;
  /* Fundo semi-transparente FORÇADO */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  /* Reduced padding */
  border-radius: 16px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  color: white !important;
  margin-top: 10px;
  /* Adiciona margem para evitar corte da borda superior */
}

/* Efeito de brilho no hover */
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(30, 41, 59, 0.6);
}

/* Aspas decorativas */
/* Aspas decorativas */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  line-height: 1;
  font-family: serif;
  opacity: 0.1;
  color: white;
}

/* Force Text Colors in Dark Mode */
.testimonial-card .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.testimonial-card blockquote,
.testimonial-card .fw-bold,
.testimonial-card div {
  color: #ffffff !important;
  font-size: 1.05rem;
}

/* Light Mode Overrides for Testimonials */
body.light-mode .testimonial-card {
  background: #ffffff !important;
  color: #1e293b !important;
  /* FIX: Texto escuro no fundo branco */
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  /* Borda muito sutil */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

body.light-mode .testimonial-card:hover {
  background: #ffffff !important;
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
  border-color: rgba(13, 110, 253, 0.4) !important;
}

body.light-mode .testimonial-card::before {
  color: var(--tech-primary);
  opacity: 0.1;
}

body.light-mode .testimonial-card blockquote {
  color: #334155 !important;
}

/* Garante que o texto fique escuro no modo claro, sobrescrevendo o !important do modo escuro */
body.light-mode .testimonial-card .fw-bold,
body.light-mode .testimonial-card div {
  color: #1e293b !important;
}

body.light-mode .testimonial-card .text-muted {
  color: #64748b !important;
}

/* Ajuste das setas do carrossel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 50% 50%;
}

body.light-mode .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
}

/* ========================================
   REFACTORING UTILITIES (Inline Styles Replacement)
   ======================================== */
.feature-card-img {
  height: 200px;
  object-fit: cover;
}

.obj-pos-30 {
  object-position: center 30%;
}

.obj-pos-20 {
  object-position: center 20%;
}

.badge-xs {
  font-size: 0.6em !important;
}

.carousel-control-width {
  width: 5%;
}

.img-max-h-400 {
  max-height: 400px;
}

.mt-nav-spacer {
  margin-top: 80px;
}

.min-h-60vh {
  min-height: 60vh;
}

.w-max-800 {
  max-width: 800px;
}

.border-0 {
  border: 0 !important;
}

/* ========================================
   UTILITY CLASSES (Added for Footer)
   ======================================== */
.hover-white {
  transition: color 0.2s ease;
}

.hover-white:hover {
  color: #fff !important;
}

/* ========================================
   MOVED FROM INDEX.HTML (Light Mode Adjustments)
   ======================================== */

/* 1. Alterna os fundos das seções para criar separação visual. */
body.light-mode .bg-tech-light {
  background-color: #f8f9fa !important;
  /* Off-white bootstrap */
}

body.light-mode .bg-tech-dark {
  background-color: #ffffff !important;
}

/* 2. Remove a sombra dos cards no modo claro para um visual mais 'flat', mas mantém hover */
body.light-mode #areas .feature-card,
body.light-mode #depoimentos>.container.bg-light {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e9ecef;
}

body.light-mode #areas .feature-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-5px);
  border-color: var(--tech-primary) !important;
}

/* 3. Ajusta a seção de contato */
body.light-mode #contato h2,
body.light-mode #contato label,
body.light-mode #contato #full-address {
  color: var(--bs-body-color) !important;
}

body.light-mode #contato p.text-muted {
  color: var(--bs-secondary-color) !important;
}

/* Destaca os campos do formulário para não sumirem no fundo branco */
body.light-mode #contato .form-control,
body.light-mode #contato .form-select {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #212529;
}

body.light-mode #contato .form-control:focus,
body.light-mode #contato .form-select:focus {
  background-color: #ffffff;
  border-color: var(--tech-primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


/* ========================================
   UTILITY CLASSES (Added for Footer)
   ======================================== */
.hover-white {
  transition: color 0.2s ease;
}

.hover-white:hover {
  color: #fff !important;
}

/* ========================================
   MOVED FROM INDEX.HTML (Light Mode Adjustments)
   ======================================== */

/* 1. Alterna os fundos das seções para criar separação visual. */
body.light-mode .bg-tech-light {
  background-color: #f8f9fa !important;
  /* Off-white bootstrap */
}

body.light-mode .bg-tech-dark {
  background-color: #ffffff !important;
}

/* 2. Remove a sombra dos cards no modo claro para um visual mais 'flat', mas mantém hover */
body.light-mode #areas .feature-card,
body.light-mode #depoimentos>.container.bg-light {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e9ecef;
}

body.light-mode #areas .feature-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-5px);
  border-color: var(--tech-primary) !important;
}

/* 3. Ajusta a seção de contato */
body.light-mode #contato h2,
body.light-mode #contato label,
body.light-mode #contato #full-address {
  color: var(--bs-body-color) !important;
}

body.light-mode #contato p.text-muted {
  color: var(--bs-secondary-color) !important;
}

/* Destaca os campos do formulário para não sumirem no fundo branco */
body.light-mode #contato .form-control,
body.light-mode #contato .form-select {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #212529;
}

body.light-mode #contato .form-control:focus,
body.light-mode #contato .form-select:focus {
  background-color: #ffffff;
  border-color: var(--tech-primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


/* Page Specific Gradients & Backgrounds */
.bg-gradient-vendas {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.bg-cover-pc-gamer {
  background: url('../img/pc-gamer-white.png') center/cover no-repeat;
}

.h-250-cover {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.bg-gradient-dev {
  background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
}

.bg-gradient-3d {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-auto {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.bg-gradient-assist {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.filter-grayscale {
  filter: grayscale(100%) brightness(0.7) sepia(0.3);
}

/* ========================================
   Development Page Styles
   ======================================== */
.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1e293b;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.2);
  border-color: var(--tech-accent);
}

.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 10%, rgba(15, 23, 42, 0.8) 50%, transparent 100%);
  padding: 24px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  transform: translateY(0);
}

.hover-scale {
  transition: transform 0.2s;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ========================================
   Vendas Page Styles
   ======================================== */
.service-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 110, 253, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.15);
  border-color: rgba(13, 110, 253, 0.4);
  background: rgba(255, 255, 255, 0.85);
}

.service-img {
  height: 220px;
  object-fit: cover;
}

/* ========================================
   COOKIE BANNER
   ======================================== */
#cookie-banner {
  display: none;
  /* Começa oculto */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   COOKIE BANNER
   ======================================== */
#cookie-banner {
  display: none;
  /* Começa oculto */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}