/* ================================================
   FOOTER — Premium Editorial
   ================================================ */

footer {
  position: relative;
  background: linear-gradient(135deg, #208264 0%, #1a7055 50%, #166048 100%);
  overflow: hidden;
  padding: 88px 0 0;
  color: #fff;
}

/* Glow orgânico */
footer::before {
  content: '';
  position: absolute;
  top: -140px; left: -100px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
footer::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* Marca d'água */
.footer-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  font-weight: 700;
  font-style: italic;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
}

/* ── Grid principal ── */
.footer-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ══ Coluna 1 — Marca ══ */

.footer-logo-img {
  width: 280px;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.footer-brand-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, rgba(16,185,129,0.65), transparent);
  border-radius: 2px;
  margin: 20px 0;
}

.footer-tagline {
  font-size: 0.90rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.78;
  max-width: 270px;
  margin: 0;
}

/* ══ Coluna 2 — Contatos ══ */

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: 28px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
a.footer-contact-item {
  transition: opacity 0.22s;
}
a.footer-contact-item:hover {
  opacity: 0.72;
}
a.footer-contact-item:hover .footer-contact-icon {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s, border-color 0.22s;
}
.footer-contact-icon svg { width: 16px; height: 16px; }

.footer-contact-label {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 2px;
}
.footer-contact-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
}

/* ══ Coluna 3 — Social ══ */

.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.22s;
}
.footer-social-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateX(4px);
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-social-icon svg { width: 18px; height: 18px; }

.footer-social-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.footer-social-handle {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.38);
}

/* ── Barra inferior ── */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.26);
  margin: 0;
}
.footer-copy span {
  color: rgba(255,255,255,0.50);
  font-weight: 500;
}

.footer-crefito {
  font-size: 0.70rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0;
}

/* ── Responsivo ── */
@media (max-width: 900px) {
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-watermark { font-size: 14rem; }
}

@media (max-width: 600px) {
  footer { padding: 64px 0 0; }
  .footer-body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 52px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-watermark { font-size: 7rem; }
}

/* ── WhatsApp Flutuante ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.wpp-tooltip {
  background: #25D366;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 16px 10px 18px;
  border-radius: 28px 0 0 28px;
  margin-right: -8px;
  white-space: nowrap;
  transform: translateX(110%);
  opacity: 0;
  transition: all 0.3s var(--ease);
  pointer-events: none;
  box-shadow: -4px 0 12px rgba(0,0,0,0.08);
}
.wpp-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4),
              0 1px 4px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.wpp-btn svg { width: 26px; height: 26px; fill: #fff; }
.wpp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}
.whatsapp-float:hover .wpp-tooltip {
  transform: translateX(0);
  opacity: 1;
}
