/* ==========================================================================
   FOOTER.CSS — Footer global 4 colunas, fundo bordô escuro
   BellaMiss Saúde Estética v2
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FOOTER BASE
   -------------------------------------------------------------------------- */
.bm-footer {
  background: var(--bm-bg-darker);
  color: var(--bm-white);
  padding: 64px 0 0;
}

.bm-footer h3,
.bm-footer h4,
.bm-footer h5 {
  color: var(--bm-white);
}

/* --------------------------------------------------------------------------
   2. GRID PRINCIPAL — 4 COLUNAS
   -------------------------------------------------------------------------- */
.bm-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}

/* --------------------------------------------------------------------------
   3. COLUNA 1 — MARCA
   -------------------------------------------------------------------------- */
.bm-footer-brand {}

.bm-footer-logo {
  height: 144px;
  width: auto;
  margin-bottom: 16px;
}

.bm-footer-tagline {
  font-size: var(--bm-text-sm);
  color: rgba(221, 187, 177, 0.75);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 240px;
}

/* Ícones redes sociais */
.bm-footer-social {
  display: flex;
  gap: 12px;
}

.bm-social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(221, 187, 177, 0.25);
  color: var(--bm-pale-dogwood);
  transition: background var(--bm-transition), color var(--bm-transition),
              border-color var(--bm-transition);
}

.bm-social-link:hover {
  background: rgba(221, 187, 177, 0.15);
  color: var(--bm-white);
  border-color: rgba(221, 187, 177, 0.5);
}

.bm-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   4. COLUNAS DE LINKS (2 e 3)
   -------------------------------------------------------------------------- */
.bm-footer-col-title {
  font-family: var(--bm-font-body);
  font-size: var(--bm-text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bm-pale-dogwood);
  margin-bottom: 20px;
}

.bm-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bm-footer-link {
  font-size: var(--bm-text-sm);
  color: rgba(221, 187, 177, 0.7);
  transition: color var(--bm-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.bm-footer-link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--bm-transition), transform var(--bm-transition);
  font-size: 10px;
}

.bm-footer-link:hover .bm-footer-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   5. COLUNA 4 — CONTATO
   -------------------------------------------------------------------------- */
.bm-footer-contact {}

.bm-footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bm-footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.bm-footer-contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--bm-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bm-footer-contact-text {
  font-size: var(--bm-text-sm);
  color: rgba(221, 187, 177, 0.75);
  line-height: 1.5;
}

.bm-footer-contact-text strong {
  display: block;
  color: rgba(221, 187, 177, 0.95);
  font-weight: 500;
  margin-bottom: 2px;
}

.bm-footer-contact-text a {
  color: rgba(221, 187, 177, 0.75);
  transition: color var(--bm-transition);
}

.bm-footer-contact-text a:hover {
  color: var(--bm-white);
}

/* --------------------------------------------------------------------------
   6. MAPA
   -------------------------------------------------------------------------- */
.bm-footer-map {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0.85;
  transition: opacity var(--bm-transition);
}

.bm-footer-map:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   7. SEPARADOR FOOTER (era 6)
   -------------------------------------------------------------------------- */
.bm-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
}

/* --------------------------------------------------------------------------
   8. BARRA INFERIOR
   -------------------------------------------------------------------------- */
.bm-footer-bottom {
  padding: 20px 0;
}

.bm-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.bm-footer-copyright {
  font-size: var(--bm-text-xs);
  color: rgba(221, 187, 177, 0.5);
  line-height: 1.5;
}

.bm-footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bm-footer-legal-link {
  font-size: var(--bm-text-xs);
  color: rgba(221, 187, 177, 0.5);
  transition: color var(--bm-transition);
}

.bm-footer-legal-link:hover {
  color: rgba(221, 187, 177, 0.85);
}

/* --------------------------------------------------------------------------
   8. CRÉDITO AGÊNCIA
   -------------------------------------------------------------------------- */
.bm-footer-credit {
  font-size: var(--bm-text-xs);
  color: rgba(221, 187, 177, 0.35);
}

.bm-footer-credit a {
  color: rgba(221, 187, 177, 0.5);
  transition: color var(--bm-transition);
}

.bm-footer-credit a:hover {
  color: rgba(221, 187, 177, 0.85);
}

/* --------------------------------------------------------------------------
   9. RESPONSIVIDADE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .bm-footer {
    padding-top: 48px;
  }

  .bm-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bm-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bm-footer-legal {
    gap: 12px;
  }
}
