/* ============================================
   BIZ RENT CAR - FOOTER CSS
   Versao: 1.0 | Fevereiro 2026
   ============================================ */

/* ============================================
   FOOTER BASE
   ============================================ */
.footer {
  background: var(--midnight-navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-16);
}

/* ============================================
   FOOTER GRID
   ============================================ */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-6);
  }

  .footer__grid > .footer__col:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid > .footer__col:first-child {
    grid-column: auto;
  }
}

/* ============================================
   FOOTER COLUMNS
   ============================================ */
.footer__col {
  display: flex;
  flex-direction: column;
}

/* ============================================
   LOGO + ABOUT
   ============================================ */
.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer__logo img {
  height: 35px;
  width: auto;
}

.footer__logo:hover {
  opacity: 0.9;
}

.footer__about {
  font-size: var(--text-body-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   LINKS
   ============================================ */
.footer__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-body-sm);
  color: var(--champagne-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.footer__links li {
  margin-bottom: var(--space-2);
}

.footer__links a {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

/* ============================================
   CONTATO
   ============================================ */
.footer__contact li {
  margin-bottom: var(--space-3);
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   SOCIAL ICONS
   ============================================ */
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.footer__social a:hover {
  background: var(--champagne-gold);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ============================================
   AREAS STRIP
   ============================================ */
.footer__areas {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-6) 0;
  margin-top: var(--space-12);
}

.footer__areas-title {
  font-size: var(--text-body-sm);
  color: var(--champagne-gold);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.footer__areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer__areas-list a {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__areas-list a:hover {
  color: var(--white);
}

.footer__areas-list span {
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-6) 0;
  margin-top: var(--space-12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  z-index: var(--z-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

/* Pulse animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  animation: whatsapp-pulse 2s infinite;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::after {
    animation: none;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--pearl-gray);
  padding: var(--space-3) 0;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
}

.breadcrumb__item {
  color: var(--slate);
}

.breadcrumb__item a {
  color: var(--slate);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb__item a:hover {
  color: var(--midnight-navy);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: rgba(var(--slate-rgb), 0.5);
  margin-right: var(--space-2);
}

.breadcrumb__item--active {
  color: var(--charcoal);
  font-weight: 600;
}
