/**
 * MAAR Concept - Footer Component
 * Design System 2.0 - Areia & Terracota
 */

/* === FOOTER CONTAINER === */
.bg-footer {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 60%, #2C1810 100%);
  position: relative;
}

.bg-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 0%, rgba(198, 125, 92, 0.1), transparent 60%);
  pointer-events: none;
}

#footer-container {
  position: relative;
  z-index: 1;
}

/* === TEXT COLORS === */
.text-footer-primary {
  color: var(--terracota);
}

.text-footer-muted {
  color: rgba(250, 247, 242, 0.75);
  line-height: 1.6;
}

.border-footer {
  border-color: rgba(250, 247, 242, 0.15) !important;
}

/* === FOOTER LOGO === */
#footer-logo {
  max-height: 90px;
  width: auto;
  transition: transform var(--transition-medium);
}

#footer-logo:hover {
  transform: scale(1.05);
}

/* === FOOTER TITLES === */
.footer-title {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-4);
  color: var(--beige);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--terracota);
  border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* === FOOTER LINKS === */
.footer-link {
  display: inline-block;
  color: rgba(250, 247, 242, 0.75);
  text-decoration: none;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  position: relative;
}

.footer-link:hover {
  color: var(--terracota);
  transform: translateX(4px);
  padding-left: var(--space-2);
}

.footer-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 6px;
  height: 2px;
  background: var(--terracota);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.footer-link:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* === SOCIAL BUTTONS === */
#footer-social-links {
  gap: var(--space-3);
}

.btn-footer-social {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  color: var(--sand-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-medium);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: var(--text-lg);
}

.btn-footer-social:hover {
  background: var(--terracota);
  color: white;
  transform: translateY(-4px);
  border-color: var(--terracota-dark);
  box-shadow: var(--shadow-lg);
}

.btn-footer-social:active {
  transform: translateY(-2px);
}

/* === FOOTER BOTTOM === */
.footer-bottom-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-links li {
  display: inline-block;
}

.footer-bottom-links li:not(:last-child)::after {
  content: '•';
  margin: 0 var(--space-2);
  color: rgba(250, 247, 242, 0.3);
}

.footer-bottom-links .footer-link {
  font-size: var(--text-xs);
  margin-bottom: 0;
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
  #footer-brand {
    margin-bottom: var(--space-6);
  }
  
  .footer-title {
    text-align: center;
  }
  
  #footer-social-links {
    margin-top: var(--space-4);
  }
}

@media (min-width: 768px) {
  .footer-title::after {
    left: 0;
    transform: none;
  }
}
