/* ============================================
   CONTATO, FOOTER, FLOAT WA & MAPA
   ============================================ */

/* ─── CONTATO ─── */
.contato {
  padding: var(--section-gap) 0;
  background: var(--black);
  color: var(--white);
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contato-left .eyebrow {
  color: var(--gold);
}

.contato-left .eyebrow::before {
  background: var(--gold);
}

.contato-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.contato-h2 em {
  font-style: italic;
  color: var(--gold);
}

.contato-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contato-infos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ci {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.ci-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.ci-val {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* Card WhatsApp */
.wa-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 40px;
}

.wa-card-icon {
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.wa-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.wa-card-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.3s;
  width: 100%;
  justify-content: center;
}

.wa-btn:hover {
  background: #1ebe5c;
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s;
}

.maps-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.horarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 16px;
}

.hor-item {
  background: rgba(255,255,255,0.04);
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hor-day {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.hor-time {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
}

/* ─── MAPA ─── */
.contato-map {
  height: 100%;
  min-height: 460px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(199,174,149,0.2);
}

#barsi-map {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 12px;
  filter: grayscale(30%) brightness(0.9);
}

.map-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 460px;
  padding: 40px;
  text-align: center;
  gap: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.7;
}

.map-fallback a {
  color: var(--gold);
  text-decoration: underline;
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Leaflet adiciona esta classe ao container quando inicializa com sucesso */
#barsi-map.leaflet-container .map-fallback {
  display: none;
}

.leaflet-container {
  background: #111 !important;
  font-family: var(--font-body);
}

.leaflet-popup-content-wrapper {
  background: #1a1a1a !important;
  border: 1px solid rgba(199,174,149,0.3) !important;
  border-radius: 10px !important;
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}

.leaflet-popup-tip {
  background: #1a1a1a !important;
}

.leaflet-popup-content {
  margin: 14px 16px !important;
  font-size: 13px;
  line-height: 1.6;
}

.leaflet-popup-content strong {
  color: #C9A96E;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.leaflet-popup-close-button {
  color: #888 !important;
}

/* Marcador customizado */
.barsi-marker {
  background: #fff;
  border: 2px solid #C9A96E;
  border-radius: 50%;
  width: 48px !important;
  height: 48px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  overflow: hidden;
  padding: 4px;
}

.barsi-marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.barsi-marker-wrap {
  position: relative;
}

.barsi-marker-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(201,169,110,0.5);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

.barsi-popup-metro {
  color: #C9A96E;
  font-size: 12px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
}

.footer-logo em {
  font-style: italic;
  color: var(--nude);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.3s, color 0.3s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── FLOAT WhatsApp ─── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 300;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: fadeUp 0.8s 1.5s both;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .contato-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contato-map {
    min-height: 300px;
  }

  #barsi-map {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .horarios {
    grid-template-columns: 1fr;
  }

  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
