/* ============================================================
   PEÇA PEÇAS — Footer (non-partner)
   ============================================================ */

.pp-footer {
    margin-top: 0;
}

.pp-footer-main {
    background: #1a1a2e;
    padding: 2.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

.pp-footer-logo {
    height: 30px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.pp-footer-tagline {
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 1.25rem;
}

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

.pp-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .25s ease;
    font-size: 1rem;
}

.pp-footer-social a:hover {
    background: #007bff;
    color: #fff;
}

.pp-footer-heading {
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.pp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pp-footer-links li {
    margin-bottom: .5rem;
}

.pp-footer-links a {
    color: rgba(255,255,255,.55);
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s ease;
}

.pp-footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.pp-footer-cta-text {
    color: rgba(255,255,255,.55);
    font-size: .8rem;
    line-height: 1.5;
    margin-bottom: .75rem;
}

.pp-footer-cta-btn {
    display: inline-block;
    border: 1.5px solid rgba(255,255,255,.25);
    color: #fff;
    padding: .45rem 1.2rem;
    border-radius: 25px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

.pp-footer-cta-btn:hover {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
    text-decoration: none;
}

.pp-footer-trust {
    background: #151528;
    padding: .75rem 0;
    border-top: 1px solid rgba(255,255,255,.06);
}

.pp-footer-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    color: rgba(255,255,255,.4);
    font-size: .72rem;
}

.pp-footer-trust-item i {
    color: rgba(255,255,255,.3);
    font-size: .8rem;
}

.pp-footer-bottom {
    background: #111122;
    padding: .75rem 0;
}

.pp-footer-copyright {
    color: rgba(255,255,255,.3);
    font-size: .72rem;
}

@media (max-width: 767px) {
    .pp-footer-main {
        padding: 2.5rem 0 2rem;
        text-align: center;
    }
    .pp-footer-tagline {
        margin: 0 auto 1.25rem;
    }
    .pp-footer-social {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    .pp-footer-heading {
        margin-top: .75rem;
    }
    .pp-footer-bottom {
        text-align: center;
    }
}

/* Legacy classes (keep for other pages) */
.container-footer {
  height: auto;
}

.btn-register-now {
  margin-top: 20px;
  color: #fff;
}

.logo-peca-footer {
  height: 3em;
}

/* Enhanced Whitelabel Footer Styles */
footer.bg-dark {
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%) !important;
  position: relative;
  overflow: hidden;
}

footer.bg-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-opacity='0.03'%3E%3Cpolygon fill='%23ffffff' points='50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

footer .container {
  position: relative;
  z-index: 2;
}

footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
}

footer h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

footer .text-light {
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.6;
}

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

footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

footer .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 0;
  transition: all 0.2s ease;
}

footer .contact-item:hover {
  padding-left: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

footer .contact-item i {
  width: 20px;
  margin-right: 12px;
  color: #667eea;
}

footer .contact-item a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item span,
.contact-item a {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-all;
}


footer .contact-item a:hover {
  color: #667eea !important;
}

footer .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  border-radius: 25px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

footer .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

footer .bg-secondary {
  background: linear-gradient(135deg, #2d3436 0%, #1a1a1a 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .powered-by {
  display: flex;
  font-size: 12px;
  opacity: 0.8;
}

footer .powered-by a {
  color: #667eea !important;
  text-decoration: none;
  font-weight: 600;
}

footer .powered-by a:hover {
  color: #fff !important;
}

.pecapecas-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}

.pecapecas-logo {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.pecapecas-brand:hover .pecapecas-logo {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(175deg);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  footer .social-links {
    justify-content: center;
    margin-top: 20px;
  }
  
  footer .col-md-6.text-md-end {
    text-align: center !important;
    margin-top: 16px;
  }
}