/*--------------------------------------------------------------
# Logo Header
--------------------------------------------------------------*/
.header-logo {
  max-height: 55px !important;
  width: auto;
  display: block;
  object-fit: contain;

  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0); 
}

@media (max-width: 768px) {
  .header-logo {
    max-height: 40px !important;
  }
}

/*--------------------------------------------------------------
# Buttons Social Header
--------------------------------------------------------------*/
.header-social {
  display: flex;
  align-items: center;
  gap: 8px; /* controla a distância entre os ícones */
}

.social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;

  font-size: 18px;
  text-decoration: none;

  transition: 0.3s ease;
}

.social-btn i {
  line-height: 1;
}

.social-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.1);
}

@media (max-width: 1199px) {
  .header-social {
    margin-right: 12px;
  }

  .mobile-nav-toggle {
    margin-left: 8px;
  }
}

@media (max-width: 991px) {
  .header .container {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .navmenu {
    order: 3;
  }

  .header-social {
    order: 2;
    margin-left: auto;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.btn-gallery {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 60%);
  text-decoration: none;
}

.btn-gallery i {
  transition: transform 0.3s ease;
}

.btn-gallery:hover {
  background: color-mix(in srgb, var(--accent-color), var(--default-color) 15%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent-color), transparent 50%);
  color: var(--contrast-color);
}

.btn-gallery:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .btn-gallery {
    padding: 12px 28px;
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Botão Flutuante WhatsApp
--------------------------------------------------------------*/
.whatsapp-float{
  position: fixed;
  left: 20px;
  bottom: 20px;

  width: 60px;
  height: 60px;

  border-radius: 50%;
  background: #25d366;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;
  text-decoration: none;

  z-index: 999;

  box-shadow:
    0 6px 18px rgba(37,211,102,.25);

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    opacity .3s ease;

  animation: whatsappPulse 2.5s infinite;
}

/* Hover suave */
.whatsapp-float:hover{
  transform: translateY(-2px);

  box-shadow:
    0 8px 22px rgba(37,211,102,.35);

  color: #fff;
}

/* Pulsação elegante */
@keyframes whatsappPulse{
  0%{
    box-shadow:
      0 0 0 0 rgba(37,211,102,.25),
      0 6px 18px rgba(37,211,102,.25);
  }

  70%{
    box-shadow:
      0 0 0 14px rgba(37,211,102,0),
      0 6px 18px rgba(37,211,102,.25);
  }

  100%{
    box-shadow:
      0 0 0 0 rgba(37,211,102,0),
      0 6px 18px rgba(37,211,102,.25);
  }
}

/* Mobile */
@media (max-width: 768px){
  .whatsapp-float{
    width: 55px;
    height: 55px;
    font-size: 28px;

    left: 15px;
    bottom: 15px;
  }
}