/* ====== Personalizações Landing Page Serv-Oeste ====== */
html {
  scroll-behavior: smooth;
}
:root {
  --vermelho: #e63946;
  --azul: #1e3c72;
  --branco: #fff;
  --cinza: #f5f5f5;
}
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--azul) 60%, var(--vermelho) 100%);
}
.navbar-brand {
  letter-spacing: 2px;
}
footer {
  letter-spacing: 1px;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
section {
  padding-top: 80px;
}
section, .hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767.98px) {
  section, .hero {
    padding-top: 60px;
    min-height: 100vh;
    justify-content: center;
  }
  section > .container, .hero > .container {
    justify-content: center;
  }
}

section > .container, .hero > .container {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Espaçamento extra entre elementos principais das sessões */
section .row, .hero .container > * + * {
  margin-top: 2.5rem;
}
section.visible, .hero.visible {
  opacity: 1;
  transform: none;
}
.shadow-custom {
  box-shadow: 0 2px 16px 0 rgba(30,60,114,0.10);
}
.navbar {
  border-bottom: none;
}
.navbar .nav-link {
  font-weight: 500;
}
.navbar .nav-link.active, .navbar .nav-link:focus, .navbar .nav-link:hover {
  color: var(--vermelho) !important;
}
.bg-azul {
  background: var(--azul) !important;
}

.whatsapp-float-group {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.whatsapp-float {
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s;
  border: none;
  outline: none;
  cursor: pointer;
}
.whatsapp-float:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.08);
  text-decoration: none;
}
.whatsapp-options {
  display: none;
  flex-direction: column;
  margin-bottom: 10px;
  gap: 8px;
  align-items: flex-end;
}
.whatsapp-option {
  background: #25d366;
  color: #fff;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-option:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.05);
}
.whatsapp-float-group.open .whatsapp-options {
  display: flex;
}

.servicos-icones .icon-anim {
  transition: transform 0.3s cubic-bezier(.4,1.2,.4,1), box-shadow 0.3s;
  will-change: transform;
}
.servicos-icones .icon-anim:hover {
  transform: scale(1.18) rotate(-6deg);
  box-shadow: 0 4px 16px rgba(30,60,114,0.12);
}
.servicos-icones .icon-anim.fadein {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s, transform 0.8s cubic-bezier(.4,1.2,.4,1);
}
.servicos-icones .icon-anim {
  opacity: 0;
  transform: translateY(40px);
} 
.servicos-cards .card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(.4,1.2,.4,1), box-shadow 0.3s, transform 0.3s;
}
.servicos-cards .card.fadein {
  opacity: 1;
  transform: none;
}
.servicos-cards .card:hover {
  box-shadow: 0 8px 32px 0 rgba(30,60,114,0.18);
  transform: translateY(-8px) scale(1.03);
  z-index: 2;
} 
.fadein-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(.4,1.2,.4,1);
}
.fadein-anim.visible {
  opacity: 1;
  transform: none;
} 
.menu-link {
  font-size: 1rem !important;
}
@media (max-width: 991.98px) {
  .menu-link {
    font-size: 0.95rem !important;
  }
} 
.navbar-brand img {
  max-width: 110px;
  height: auto;
  display: block;
} 