/*========== Css Pai - Início ==========*/
@import url('style.css');
/*========== Css Pai - Fim ==========*/

/*========== WhatsApp ==========*/
#whatsapp-button {
  position: fixed;
  bottom: 15px;
  right: 10px;
  cursor: pointer;
  z-index: 999999;
  transition: var(--transition);
}

#whatsapp-button {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

#whatsapp-button:hover {
  transform: scale(1.1);
}

#whatsapp-button .whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-app);
  padding: 5px;
}

.exec-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.exec-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-blue);
}

.exec-small {
  font-size: 13px;
  color: var(--gray);
  line-height: 1;
}

.exec-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray);
}

#whatsapp-popup {
  position: fixed;
  bottom: 95px;
  right: 20px;
  width: 250px;
  max-width: 90%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-app);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 9999;
}

#whatsapp-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.popup-header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.popup-header button {
  background: transparent;
  color: var(--gray);
  font-size: 15px;
  cursor: pointer;
}

.popup-body {
  padding: 10px;
}

#whatsapp-popup label {
  margin-bottom: 8px;
  display: block;
  color: var(--gray);
  font-weight: 500;
}

#whatsapp-popup textarea {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--banner-color-p);
  margin-bottom: 10px;
  resize: none;
}

.popup-body .btn {
  width: 100%;
}

/*========== Mobile WhatsApp - APP ==========*/
@media (max-width: 768px) {
  #whatsapp-popup {
    border: 1px solid var(--gray);
    box-shadow: var(--shadow-app);
  }

  #whatsapp-button i {
    background: transparent;
    color: var(--accent-blue);
    box-shadow: none;
  }

}


/*========== Mobile ==========*/
@media (max-width: 480px) {
  #whatsapp-button {
    bottom: 15px;
    right: 15px;
  }

  #whatsapp-button i {
    font-size: 45px;
  }

  #whatsapp-popup {
    width: 90%;
    right: 5%;
    bottom: 85px;
  }
}

/*========== Tablet ==========*/
@media (min-width: 481px) and (max-width: 768px) {
  #whatsapp-button {
    bottom: 18px;
    right: 18px;
  }

  #whatsapp-button i {
    font-size: 48px;
  }

  #whatsapp-popup {
    width: 320px;
    /* um pouco mais largo para leitura */
    max-width: 92%;
    right: 4%;
    bottom: 95px;
  }
}

/*========== Desktop ==========*/
@media (min-width: 769px) and (max-width: 1024px) {
  #whatsapp-button {
    bottom: 20px;
    right: 22px;
  }

  #whatsapp-button i {
    font-size: 50px;
  }

  #whatsapp-popup {
    width: 300px;
    right: 22px;
    bottom: 95px;
  }
}

/*========== TV ==========*/
@media (min-width: 1600px) {
  #whatsapp-button {
    bottom: 40px;
    right: 40px;
  }

  #whatsapp-popup {
    bottom: 120px;
    right: 45px;
    width: 320px;
  }
}