/* ==========================================================================
   ESQUADRIPLAN ALUMÍNIO - FOOTER CSS (NOVO DESIGN PREMIUM FIEL AO MOCKUP)
   3 Colunas com Divisores Verticais Contínuos, Ícones, Setas e Rodapé
   ========================================================================== */

.site-footer {
  background-color: #243B3B;
  color: #D7D7D7;
  padding: 52px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer .container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--container-pad, 20px);
  padding-right: var(--container-pad, 20px);
}

/* GRID PRINCIPAL: 3 COLUNAS COM ALTURA TOTAL E STRETCH */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: stretch;
  gap: 0;
}

/* COLUNA 1: IDENTIDADE & CONTATOS & MAPA */
.footer-col-contact {
  padding-right: 44px;
  display: flex;
  flex-direction: column;
}

.footer-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.footer-brand-tagline {
  font-size: 0.66rem;
  font-weight: 600;
  color: #A3B5B3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.footer-brand-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 18px 0 16px;
  border: none;
}

/* LISTA DE CONTATOS COM SUBTÍTULOS */
.footer-contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-contact-main {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.footer-contact-main:hover {
  color: #A9BEBE;
  text-decoration: underline;
}

.footer-contact-sub {
  color: #94A3B8;
  font-size: 0.73rem;
  line-height: 1.2;
}

/* CARD DO MAPA */
.footer-map-card {
  position: relative;
  margin-top: 18px;
  border-radius: 8px;
  overflow: hidden;
  height: 120px;
  width: 100%;
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  background: #E5E7EB;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-map-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}

.footer-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.footer-map-badge-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.footer-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* COLUNA DO MEIO (PRODUTOS) E DIREITA (SOLUÇÕES) */
.footer-col-middle {
  padding: 0 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.footer-col-right {
  padding-left: 44px;
  display: flex;
  flex-direction: column;
}

/* CABEÇALHOS DAS SEÇÕES COM ÍCONE */
.footer-section-header {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 14px;
}

.footer-section-icon {
  flex-shrink: 0;
  color: #FFFFFF;
  margin-top: 1px;
}

.footer-section-text {
  display: flex;
  flex-direction: column;
}

.footer-section-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.footer-section-desc {
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.35;
  margin: 3px 0 0;
}

/* LINHAS DE NAVEGAÇÃO COM SETA */
.footer-links-rows {
  display: flex;
  flex-direction: column;
}

.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav-row svg {
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.footer-nav-row:hover {
  color: #FFFFFF;
}

.footer-nav-row:hover svg {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-nav-divider-spacer {
  height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* BLOCO DESTACADO: A ESQUADRIPLAN */
.footer-company-highlight {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 16px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.footer-company-icon {
  flex-shrink: 0;
  color: #CBD5E1;
}

.footer-company-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.footer-company-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 0.94rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-company-desc {
  font-size: 0.73rem;
  color: #94A3B8;
  line-height: 1.35;
  margin-top: 2px;
}

.footer-company-arrow {
  color: #94A3B8;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.footer-company-highlight:hover .footer-company-title {
  color: #FFFFFF;
}

.footer-company-highlight:hover .footer-company-arrow {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* BARRA INFERIOR */
.footer-bottom-bar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #94A3B8;
}

.footer-copyright-text {
  color: #94A3B8;
  margin: 0;
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-legal-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
  font-size: 0.82rem;
}

.footer-bottom-bar-sep {
  height: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-icon-btn:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .footer-col-contact {
    padding-right: 28px;
  }
  .footer-col-middle {
    padding: 0 28px;
  }
  .footer-col-right {
    padding-left: 28px;
  }
}

@media (max-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-col-contact {
    padding-right: 0;
  }
  .footer-col-middle {
    padding: 32px 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-col-right {
    padding-left: 0;
  }
  .footer-nav-divider-spacer {
    display: none;
  }
  .footer-company-highlight {
    padding-top: 18px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 38px 0 24px;
  }
  .footer-main-grid {
    gap: 28px;
  }
  .footer-col-middle {
    padding: 24px 0;
  }
  .footer-nav-row {
    min-height: 42px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 22px;
  }
  .footer-copyright-text {
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .footer-bottom-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 14px;
    font-size: 0.8rem;
  }
  .footer-bottom-bar-sep {
    display: none;
  }
  .footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 32px 0 20px;
  }
  .footer-brand-title {
    font-size: 1.15rem;
  }
  .footer-brand-tagline {
    font-size: 0.62rem;
  }
  .footer-contact-main {
    font-size: 0.82rem;
  }
  .footer-section-title {
    font-size: 0.92rem;
  }
  .footer-nav-row {
    font-size: 0.82rem;
  }
  .footer-bottom-bar {
    gap: 14px;
    margin-top: 26px;
    padding-top: 18px;
  }
  .footer-copyright-text {
    font-size: 0.76rem;
  }
  .footer-legal-links {
    font-size: 0.76rem;
    gap: 8px 12px;
  }
}

/* ==========================================================================
   BANNER CTA WHATSAPP (PADRÃO GLOBAL EM TODAS AS PÁGINAS)
   ========================================================================== */
.whatsapp-cta-banner,
.products-whatsapp-banner {
  margin: 54px auto 64px;
  padding: 30px 42px;
  background: #1F2E2E;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 16px 40px rgba(26, 34, 34, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.whatsapp-banner-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 520px;
}

.whatsapp-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.whatsapp-banner-text {
  flex: 1;
}

.whatsapp-banner-eyebrow {
  display: block;
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6FE0A8;
  margin-bottom: 4px;
}

.whatsapp-banner-title {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px;
  line-height: 1.25;
}

.whatsapp-banner-desc {
  font-size: 0.92rem;
  color: #A4B8B8;
  margin: 0;
  line-height: 1.5;
}

.whatsapp-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.whatsapp-banner-btn:hover {
  background: #22BF5B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

@media (max-width: 860px) {
  .whatsapp-cta-banner,
  .products-whatsapp-banner {
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
    margin: 36px auto 44px;
    border-radius: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .whatsapp-banner-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: none;
    width: 100%;
  }
  .whatsapp-banner-title {
    font-size: 1.25rem;
  }
  .whatsapp-banner-btn {
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    white-space: normal;
    text-align: center;
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-cta-banner,
  .products-whatsapp-banner {
    padding: 20px 16px;
    margin: 28px auto 36px;
    border-radius: 14px;
  }
  .whatsapp-banner-icon {
    width: 48px;
    height: 48px;
  }
  .whatsapp-banner-icon svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-banner-title {
    font-size: 1.12rem;
  }
  .whatsapp-banner-desc {
    font-size: 0.85rem;
  }
  .whatsapp-banner-btn {
    padding: 12px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    border-radius: 12px;
  }
}

