/* =========================================
   VARIÁVEIS DE CORES & FONTES (Identidade)
   ========================================= */
:root {
  --primary-blue: #002855;
  /* Azul base do logo */
  --accent-blue: #0056b3;
  /* Azul claro para hover/detalhes */
  --light-blue: #e6f0fa;
  /* Fundo suave para ícones */
  --dark-grey: #2C3E50;
  /* Cinza para textos fortes */
  --text-grey: #6c757d;
  /* Cinza para textos de leitura */

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}


/* =========================================
   REGRAS GERAIS
   ========================================= */
body {
  font-family: var(--font-body);
  color: var(--text-grey);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--font-heading);
}

.text-primary-tech {
  color: var(--primary-blue) !important;
}

.text-brand {
  color: var(--primary-blue);
}

.text-cinza {
  color: #4A4A4A;
}

.text-dark-tech {
  color: var(--dark-grey);
}

.text-destaque {
  color: #66b2ff;
}

/* Azul brilhante para destacar na foto */
.bg-primary-tech {
  background-color: var(--primary-blue) !important;
}

.bg-primary-light {
  background-color: var(--light-blue) !important;
}

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

.tracking-wide {
  letter-spacing: 2px;
}

/* =========================================
   BOTÕES CUSTOMIZADOS
   ========================================= */
.btn-tech {
  background-color: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
  transition: all 0.3s ease;
}

.btn-tech:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-outline-tech {
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-tech:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* =========================================
   NAVBAR & NAVEGAÇÃO
   ========================================= */
.transition-navbar {
  transition: all 0.4s ease;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-scrolled {
  background-color: #ffffff !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.nav-link {
  color: var(--dark-grey) !important;
  position: relative;
  transition: color 0.3s ease;
}

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


/* Linha animada embaixo do menu ao passar o mouse */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* =========================================
   HERO SECTION (Banner Principal)
   ========================================= */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #001f42 0%, #003366 100%);
  overflow: hidden;
}

/* Efeito de brilho no ícone gigante */
.hero-icon {
  font-size: 16rem;
  color: rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.glow-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(102, 178, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Onda divisora em SVG (Formato moderno) */
.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  /* Altura da onda */
}

.custom-shape-divider-bottom .shape-fill {
  fill: #FFFFFF;
}

/* =========================================
   SOBRE NÓS
   ========================================= */
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 20px 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary-blue);
  z-index: 2;
}

/* =========================================
   CARDS DE SERVIÇOS
   ========================================= */
.service-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

/* Linha colorida no topo do card ao passar o mouse */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover .icon-box {
  background-color: var(--primary-blue) !important;
  color: white !important;
  transition: all 0.3s ease;
}

/* =========================================
   FORMULÁRIO (FLOATING LABELS)
   ========================================= */
.form-floating>.form-control:focus {
  border-color: var(--primary-blue) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 40, 85, 0.25) !important;
}

/* =========================================
   RODAPÉ (FOOTER)
   ========================================= */
.footer-dark {
  background-color: #00152b;
  /* Azul ainda mais escuro para fechar bem */
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 8px;
  /* Dá um leve empurrão pro lado ao passar o mouse */
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
}