/* =========================================
   VARIÁVEIS DE CORES & FONTES (Identidade Do Sul Pneus)
   ========================================= */
:root {
  --primary-blue: #4A6B8A;
  /* Azul levemente mais vivo para dar contraste */
  --dark-grey: #1B2126;
  /* Grafite com um toque bem sutil de azul */
  --accent-blue: #36526D;
  --light-blue: #F0F4F8;

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

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

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  /* Deixa os títulos mais compactos e modernos */
}

/* Mantivemos os nomes das classes originais para não quebrar seu HTML */
.text-primary-tech {
  color: var(--primary-blue) !important;
}

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

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

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

.text-destaque {
  color: #92BCE3;
  /* Um azul mais luminoso e agradável para ler no escuro */
}

.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;
  text-transform: uppercase;
  /* Deixa o botão com aspecto mais forte/comercial */
  letter-spacing: 1px;
}

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

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

.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;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.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;
  /* Fundo Premium: Slate Blue escuro para destacar o caminhão */
  background: linear-gradient(135deg, #18222C 0%, #253342 100%);
  overflow: hidden;
}

.truck-image {
  max-width: 90%;
  height: auto;
  /* Chama a animação 'floatTruck' que criamos abaixo */
  animation: floatTruck 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.glow-effect-img {
  filter: drop-shadow(0 0 35px rgba(146, 188, 227, 0.4));
}

@keyframes floatTruck {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
    /* Faz a imagem subir suavemente */
  }

  100% {
    transform: translateY(0px);
    /* Retorna à posição original */
  }
}

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

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

/* Onda divisora em SVG */
.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

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

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

/* =========================================
   SOBRE NÓS
   ========================================= */
/* =========================================
   SOBRE NÓS
   ========================================= */
.about-image-wrapper {
  /* Dá espaço para a etiqueta não vazar do layout */
  padding-bottom: 20px;
}

.experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 16px;
  border-left: 6px solid var(--primary-blue);
  z-index: 2;
  /* Sombra mais suave e moderna */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
  /* Efeito de flutuação contínua */
  animation: floatBadge 6s ease-in-out infinite;
}

/* Animação exclusiva para a etiqueta de 100% */
@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Ajuste para telas de celular (tira o badge de cima da logo) */
@media (max-width: 991px) {
  .experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: -30px;
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* =========================================
   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.08) !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(99, 122, 143, 0.25) !important;
}

/* =========================================
   RODAPÉ (FOOTER)
   ========================================= */
.footer-dark {
  background-color: #151515;
  /* Quase preto absoluto */
  border-top: 4px solid var(--primary-blue);
}

.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;
}

.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);
}