body {
  scroll-behavior: smooth;
}

/* Estilo para o vídeo de fundo */
#home {
  position: relative;
  overflow: hidden;
  color: #fff;
}

#home video#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

#home .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px; /* um pouco de espaçamento nas laterais, se necessário */
}

/* Sobreposição escura se quiser manter contraste do texto */
#home::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 71, 169, 0.6);  /* ajusta se for necessário */
  z-index: 1;
}

/* 🌟 Sombra do texto para destaque */
#home h1,
#home p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* sombra escura suave */
}
.text-contorno {
  background-color: #4c89f9; /* Cor de fundo */
    color: white; /* Cor do texto */
    padding: 5px 10px; /* Espaçamento interno para que o fundo não fique grudado no texto */
    border-radius: 8px; /* Cantos arredondados */
}

.bg-primary {
  background-color: #0a47a9 !important;
}
.text-primary {
  color: #0a47a9 !important;
}
.btn-primary {
  background-color: #0a47a9;
  border: none;
}
.btn-primary:hover {
  background-color: #093b8c;
}
img.logo-branca {
  filter: brightness(0) invert(1);
}

/* CSS para ícones Bootstrap */
.icon-custom {
    font-size: 82px; /* tamanho do ícone */
    color: #007bff;  /* cor do ícone (ex: azul do Bootstrap) */
}

/* Opcional: efeito hover */
.icon-custom:hover {
    color: #0056b3; /* muda a cor quando o mouse passa */
    cursor: pointer; /* muda o cursor para indicar que é clicável */
}

/* Portfolio */
.portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h5,
.portfolio-overlay p,
.portfolio-overlay a {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay h5,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay a {
  transform: translateY(0);
  opacity: 1;
}


/* Botão WhatsApp */
/* Tooltip customizado */
.whatsapp-button {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9999;
  width: 70px;
  height: 70px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-button i {
  font-size: 36px;
  line-height: 1;
}

/* Tooltip */
.whatsapp-button::after {
  content: attr(title);
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Mostra tooltip ao passar o mouse */
.whatsapp-button:hover::after {
  opacity: 1;
}

.whatsapp-button:hover {
  background-color: #1eb851;
  transform: scale(1.1);
}


