body {
  color: #282828;
}

a {
  overflow-wrap: anywhere;
}

.primary-color {
  color: #004aad;
}

.navbar {
  background-color: #ffffff;
}

.nav-link {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #004aad;
}

.logo {
  max-width: 320px;
}

.btn-gold {
  background-color: #b48a3c;
  color: #fff;
}

.btn-gold:hover {
  background-color: #926f30;
  color: #ffffff;
}

header {
  padding: 200px 0 100px 0;
  background: #f8f9fa;
}

/**********/
.alert {
  color: #fff;
  width: 100%;
  z-index: 999;
  position: absolute;
  border-radius: 0;
  text-align: center;
  margin-top: 65px;
}

.alert p {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  padding: 80px 0;
}

.alert-error {
  background-color: #ff6f69;
}

.alert-success {
  background-color: #96ceb4;
}

/****************/
.header-bg {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container das imagens */
.bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Cada imagem */
.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(8px) brightness(0.8);
  animation: fadeZoom 18s infinite;
}

/* Imagem 2 começa depois */
.bg-img:nth-child(2) {
  animation-delay: 6s;
}

/* Imagem 3 começa depois */
.bg-img:nth-child(3) {
  animation-delay: 12s;
}

/* ANIMAÇÃO:
   - começa pixelada e borrada
   - vai ficando nítida
   - fica visível
   - desaparece */

@keyframes fadeZoom {
  0% {
    opacity: 0;
    filter: blur(15px) brightness(0.6);
    transform: scale(1.15);
  }

  15% {
    opacity: 1;
    filter: blur(4px) brightness(0.75);
    transform: scale(1.05);
  }

  30% {
    filter: blur(0px) brightness(1);
    transform: scale(1);
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    filter: blur(15px) brightness(0.6);
    transform: scale(1.15);
  }
}

/* Overlay escuro */
.header-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* Conteúdo */
.header-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.header-content h1,
.header-content p {
  color: #fff !important;
}

.card-icon {
  position: relative;
  padding-top: 50px;
  /* espaço para o ícone */
  padding: 20px;
  background-color: #ffffff;
}

.icon-circle {
  position: absolute;
  top: -50px;
  /* Metade para fora */
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 50px;
  /* Metade da altura */
  background: white;
  border: 1px solid #dee2e6;
  border-bottom: none;
  /* Remove borda inferior */
  border-radius: 50px 50px 0 0;
  /* Arredonda só em cima */
  display: flex;
  align-items: flex-start;
  /* Alinha no topo */
  justify-content: center;
  padding-top: 10px;
}

.icon-circle img {
  width: 55px;
  height: 55px;
}

/***************/
/* PARALLAX */
.parallax-servicos {
  height: 350px;
  background-image: url('https://portal.loft.com.br/wp-content/uploads/2022/09/casa-ou-apartamento-piscina-predio-lazer-shutterstock.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.55);
}

.parallax-contato {
  height: 350px;
  background-image: url('https://cdn.pixabay.com/photo/2021/02/09/20/45/architecture-5999913_1280.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.55);
}

/* Fallback para mobile (evita bugs) */
@supports (-webkit-touch-callout: none) {
  .parallax-servicos,
  .parallax-contato {
    background-attachment: scroll;
  }
}

section {
  padding: 80px 0;
}

.p-4 {
  background-color: #ffffff;
}

section h2 {
  margin-bottom: 80px !important;
}

#servicos h3 {
  margin: 10px 0 20px 0;
}

#contato a {
  color: #004aad;
  text-decoration: none;
}

footer {
  background: #282828;
  color: #fff;
  padding: 8px 0;
}

footer a {
  color: #b48a3c;
  text-decoration: none;
}

@media (max-width: 576px) {
  .logo {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  #quem-somos img {
    display: none;
  }

  iframe {
    margin-bottom: 15px;
  }

  #servicos .col-md-4 {
    margin-bottom: 50px;
  }
}

@media (max-width: 992px) {
  .navbar .btn {
    display: none;
  }
}
