/* Footer styles */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--color-white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  padding-top: var(--spacing-md);
}

.footer-logo {
  height: 100px;
  margin-bottom: var(--spacing-sm);
}

.footer-logo img {
  height: 100%;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: var(--spacing-sm);
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  position: relative;
  display: inline-block;
}

.footer-social a {
  display: block;
  margin-top: 8px; /* opcional, só pra dar um espaçamento */
}


.footer-links h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-yellow);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-medium);
}

.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-social .social-link {
  margin-right: var(--spacing-md);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-medium);
}

.footer-social .social-link:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all var(--transition-medium);
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
  position: relative;
}

.whatsapp-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7.25361 18.4944L7.97834 18.917C9.18909 19.623 10.5651 20 12.001 20C16.4193 20 20.001 16.4183 20.001 12C20.001 7.58172 16.4193 4 12.001 4C7.5827 4 4.00098 7.58172 4.00098 12C4.00098 13.4363 4.37821 14.8128 5.08466 16.0238L5.50704 16.7478L4.85355 19.1494L7.25361 18.4944ZM2.00516 22L3.35712 17.0315C2.48764 15.5536 2.00098 13.8345 2.00098 12C2.00098 6.47715 6.47813 2 12.001 2C17.5238 2 22.001 6.47715 22.001 12C22.001 17.5228 17.5238 22 12.001 22C10.1671 22 8.44851 21.5133 6.97086 20.6437L2.00516 22ZM8.39232 7.30833C8.5262 7.29892 8.66049 7.29748 8.79133 7.30402C8.84256 7.30758 8.89465 7.31384 8.94661 7.32007C9.11585 7.33846 9.29644 7.43545 9.34724 7.63302C9.54823 8.34089 9.74634 9.05268 9.93414 9.76201C9.97743 9.92661 9.92102 10.1115 9.80387 10.2575C9.68883 10.4007 9.55522 10.5283 9.40608 10.6372C9.27761 10.7289 9.14644 10.8145 9.02488 10.9074C8.96579 10.9577 8.90153 10.9728 8.86818 11.0269C8.82438 11.0939 8.82306 11.1652 8.85512 11.2326C9.2709 12.1576 9.8177 12.9008 10.5011 13.5377C10.6338 13.6616 10.7744 13.7739 10.921 13.8783C11.2572 14.1075 11.6059 14.3051 11.9915 14.4372C12.0636 14.4625 12.1063 14.4424 12.1637 14.3849C12.2144 14.3342 12.4349 14.0358 12.5119 13.9289C12.5834 13.8293 12.6609 13.8281 12.7723 13.8738C13.0385 13.9881 13.8074 14.3426 14.0772 14.4839C14.1171 14.5025 14.1559 14.5218 14.1934 14.5419C14.2811 14.5818 14.3174 14.6501 14.2982 14.746C14.2513 14.9699 14.0497 15.5075 13.8348 15.6731C13.7439 15.7457 13.6535 15.7837 13.5535 15.8089C13.4352 15.8386 13.3168 15.8357 13.1932 15.8089C13.0649 15.781 12.9274 15.7358 12.7745 15.6731C11.9034 15.3773 11.1147 14.9309 10.4162 14.3531C10.3427 14.2909 10.2607 14.2351 10.1892 14.171C9.47513 13.5242 8.87945 12.7602 8.40577 11.9076C8.21164 11.5867 8.06528 11.2401 7.96558 10.8935C7.86793 10.5507 7.90635 10.2391 8.14862 9.9563C8.20506 9.89124 8.25823 9.82343 8.32172 9.76514C8.44588 9.6526 8.52316 9.51128 8.61562 9.38089C8.73221 9.21308 8.85354 9.05254 8.91402 8.85944C8.96913 8.68515 8.93481 8.49286 8.87556 8.32129C8.75175 7.96329 8.58232 7.62489 8.42965 7.27634C8.3778 7.16516 8.40452 7.05328 8.39232 7.30833Z'/%3E%3C/svg%3E");
}