/* Footer - usa Roboto conforme padrão solicitado */
.site-footer {
  position: relative;
  background: #0d0d0d;
  color: #e7ecef;
  padding: 0 4rem 2.5rem;
  overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Lado Esquerdo */
.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  margin-bottom: 0.5rem;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo-image {
    height: auto;
    max-height: 180px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.footer-brand-text {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.55;
    margin: 0 0 1.5rem 2.7rem;
    max-width: 380px;
}

/* Links em linha única, abaixo do footer-container */
.footer-links-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 2.5rem 2.7rem;
  position: relative;
  z-index: 2;
}

.footer-links-col h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.footer-links-col .links-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: flex-start;
}

.footer-links-col a {
  display: inline-block;
  color: #e7ecef;
  text-decoration: none;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-links-col a:hover,
.footer-links-col a.active {
  color: #e85107;
  transform: translateX(4px);
}

/* Lado Direito */
.footer-right {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: start;
  margin-top: 3rem;
}

.footer-right > .footer-contact-info {
  flex: 1;
  min-width: 250px;
}

.footer-right > .footer-whatsapp {
  flex: 0 0 auto;
}

/* Newsletter */
.footer-newsletter h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: 'Space Grotesk', sans-serif;
  padding: 0.5rem 0;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-button {
  background: transparent;
  border: none;
  color: #e85107;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.newsletter-button:hover {
  transform: translateX(4px);
  color: #e85107;
}

/* Informações de Contato */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-info .contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-label {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.contact-text span:not(.contact-label) {
  color: #e7ecef;
  font-size: 0.9rem;
}

.contact-text a {
  color: #e7ecef;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-text a:hover {
  color: #e85107;
}

/* WhatsApp Column */
.footer-whatsapp {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-whatsapp-title {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.footer-whatsapp-text {
  color: #e7ecef;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  margin-top: 0.25rem;
}

.footer-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
  filter: brightness(1.05);
}

.footer-whatsapp-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Rodapé Inferior */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Redes Sociais */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #e85107;
  border-color: #e85107;
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

/* Watermark */
.footer-watermark {
  position: absolute;
  left: 50%;
  top: 170px;
  transform: translateX(-50%);
  font-size: 18rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  text-transform: lowercase;
  letter-spacing: 2px;
  user-select: none;
  z-index: 1;
}

/* Decor acima do footer */
.footer-decor {
  position: relative;
  width: 100%;
  line-height: 0;
  margin-top: -74px;
  margin-bottom: -41px;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.footer-decor img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  object-fit: contain;
  object-position: top center;
}

/* Responsive */
@media (max-width: 1200px) {
  .footer-watermark {
    font-size: 14rem;
    margin-top: 2rem;
  }

  .footer-container {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding: 2.5rem 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-decor {
    margin-top: -54px;
  }

  .footer-decor img {
    height: auto;
    min-height: 100px;
    max-height: 120px;
    object-fit: contain;
    object-position: top center;
    display: block;
  }

  .footer-watermark {
    font-size: 12rem;
    left: 50%;
    transform: translateX(-50%);
    top: 28rem;
    bottom: 80px;
  }

}

@media (max-width: 768px) {
  .site-footer {
    padding: 0 2rem 2.5rem;
  }

  .footer-container {
    gap: 1rem;
  }

  .footer-brand-text {
    margin-left: 0;
  }

  .footer-links-col {
    margin-left: 0;
  }

  .footer-links-col .links-wrapper {
    gap: 0.5rem 1rem;
  }

  .footer-links-col .links-wrapper a:nth-child(4) {
    order: 1;
  }

  .footer-links-col a {
    padding: 0.2rem 0;
  }

  .footer-right {
    margin-top: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right > .footer-contact-info {
    width: 100%;
  }

  .footer-right > .footer-contact-info .contact-item {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

  .footer-right > .footer-contact-info .contact-text {
    align-items: flex-start;
    text-align: left;
  }

  .footer-right > .footer-whatsapp {
    align-items: flex-start;
    width: 100%;
    text-align: left;
  }

  .footer-right > .footer-whatsapp .footer-whatsapp-title,
  .footer-right > .footer-whatsapp .footer-whatsapp-text {
    text-align: left;
    width: 100%;
  }

  .footer-copyright {
    text-align: center;
  }

  .footer-copyright span {
    display: block;
  }

  .footer-decor {
    margin-top: -40px;
    overflow: visible;
  }

  .footer-decor img {
    height: auto;
    min-height: 90px;
    max-height: 110px;
    object-fit: contain;
    object-position: top center;
    display: block;
    vertical-align: bottom;
  }

  .footer-watermark {
    font-size: 12rem;
    top: 53rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 0 1.5rem 2.5rem;
  }

  .footer-right {
    flex-wrap: wrap;
  }

  .newsletter-form {
    flex-wrap: wrap;
  }

  .newsletter-button {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0;
  }

  .footer-decor {
    margin-top: -27px;
    overflow: visible;
  }

  .footer-decor img {
    height: auto;
    min-height: 70px;
    max-height: 90px;
    object-fit: contain;
    object-position: top center;
    display: block;
    vertical-align: bottom;
  }

  .footer-watermark {
    font-size: 8rem;
    bottom: 40px;
    top: 44rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    order: -1;
  }

  .footer-copyright {
    order: 1;
    align-self: center;
    text-align: center;
  }
}
