﻿/**
 * ================================================
 * FOOTER - LITHOPLANT
 * Versão com paleta Azul/Amarelo/Verde
 * ================================================
 */


/* FOOTER PRINCIPAL */
.footer {
  background: linear-gradient(135deg, #0f2d5a 0%, #174283 60%, #02152f 100%);
  color: #e0e0e0;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(248, 175, 65, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}


/* SEÇÃO PRINCIPAL */
.footer-main {
  padding: 50px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.footer-col {
  margin: 0;
  padding: 0;
}


/* SOBRE */
.footer-about {
  padding-right: 20px;
}

.footer-logo {
  margin: 0 0 20px 0;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  color: #c5d0e0;
  margin: 0 0 24px 0;
}


/* REDES SOCIAIS */
.footer-socials {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-link:hover {
  background: linear-gradient(135deg, #f8af41 0%, #f8af41 100%);
  color: #fff;
  transform: translateY(-4px) rotate(5deg);
  box-shadow: 0 8px 20px rgba(248, 175, 65, 0.35);
  border-color: transparent;
}

.social-whatsapp:hover {
  background: linear-gradient(135deg, #25D366 0%, #066839 100%);
}


/* TÍTULOS */
.footer-title {
  font-family: var(--fonte-titulos);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #f8af41 0%, transparent 100%);
  border-radius: 2px;
}


/* LINKS RÁPIDOS */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}

.footer-links li {
  display: block;
  margin: 0 0 12px 0;
}

.footer-links a {
  position: relative;
  display: inline-block;
  padding-left: 18px;
  color: #c5d0e0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: #f8af41;
  font-size: 14px;
  line-height: 1;
}

.footer-links a:hover {
  color: #f8af41;
  padding-left: 22px;
}


/* CONTATO */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item i {
  font-size: 18px;
  color: #f8af41;
  min-width: 20px;
  flex-shrink: 0;
}

.contact-info {
  display: inline;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.4;
}

.contact-info strong {
  font-size: 12px;
  font-weight: 600;
  color: #90a4c0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

.contact-info a,
.contact-info span {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #f8af41;
}


/* FOOTER BOTTOM */
.footer-bottom {
  background: rgba(0, 10, 30, 0.55);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-mission {
  font-size: 15px;
  line-height: 1.6;
  color: #c5d0e0;
  margin: 0 auto 16px;
  max-width: 700px;
}

.footer-copyright {
  font-size: 14px;
  color: #c5d0e0;
  margin: 0 auto 20px;
}

.footer-copyright strong {
  color: #f8af41;
  font-weight: 600;
}


/* LINKS LEGAIS */
.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #c5d0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #f8af41;
}

.footer-bottom-links .separator {
  color: #60708f;
  font-size: 13px;
}


/* Botão "Gerenciar Cookies" */
.footer-cookie-link {
  font-size: 13px;
  color: #c5d0e0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.footer-cookie-link:hover {
  color: #f8af41;
}


/* BOTÃO VOLTAR AO TOPO */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f8af41 0%, #066839 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.back-to-top:active {
  transform: translateY(-2px);
}


/* ESPAÇAMENTO ANTES DO FOOTER */
section:last-of-type,
.cta-final,
.parceiros,
main > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 50px;
}


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

  .footer-about {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }

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

  .footer-about {
    text-align: center;
  }

  .footer-mission {
    font-size: 14px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
  }
}