/* Footer.css */

/* ── Rodapé principal — fundo cinza claro ── */
.footer {
  background-color: #f4f4f6;        /* cinza claro neutro */
  color: #5a5a5a;                    /* texto cinza escuro para contraste em fundo claro */
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid #e5e5e5;
}

/* ── Barra de ações (topo do footer) ── */
.action-bar {
  position: relative;
  background: #ffffff;
  border-top: 2px solid #BB0606;
  z-index: 10;
  padding: 10px 0;
}

.action-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.action-button {
  background: #ffffff;
  border: 1.5px solid #e8e8e8;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: #BB0606;
}

.action-button:hover {
  background-color: #BB0606;
  border-color: #BB0606;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(187, 6, 6, 0.25);
}

.action-icon {
  font-size: 14px;
  width: 15px;
  height: 15px;
  color: inherit;
  transition: color 0.25s ease;
}

/* ── Container principal ── */
.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 2rem 52px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 48px;
  box-sizing: border-box;
}

/* ── Colunas ── */
.column {
  display: flex;
  flex-direction: column;
}

.column h3 {
  color: #1a1a1a;                          /* preto: alto contraste em fundo claro */
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e0e0e0;
}

.column h4 {
  display: flex;
  align-items: center;
  color: #6b6b6b;                           /* cinza médio para texto secundário */
  cursor: pointer;
  transition: color 0.2s ease;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

.column h4:hover {
  color: #BB0606;                           /* hover na cor da marca */
}

/* ── Links ── */
.footer-link,
.social-link {
  color: #6b6b6b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-link:hover,
.social-link:hover {
  color: #BB0606;
  text-decoration: none;
}

.footer-link svg,
.social-link svg {
  margin-right: 8px;
  width: 15px;
  height: 15px;
  opacity: 0.7;
}

/* ── Ícones sociais ── */
.social-icon {
  margin-right: 8px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #6b6b6b;
  transition: color 0.2s ease;
}

.social-link:hover .social-icon {
  color: #BB0606;
}

/* ── Mapa ── */
.footer-container .column iframe {
  border-radius: 10px;
  border: 0;
  width: 100%;
  height: 190px;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* ── Rodapé inferior ── */
.footer-bottom {
  background-color: #BB0606;
  color: #ffffff;
  text-align: center;
  padding: 14px 1rem;
  width: 100%;
  box-sizing: border-box;
}

.bottom-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.bottom-content p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.2px;
  opacity: 0.92;
}

.footer-logo {
  width: 28px;
  height: 28px;
  opacity: 0.95;
}

/* ── Helper interno ── */
.content-inner {
  display: flex;
  flex-direction: column;
}

/* ── Responsividade ── */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 44px 1.5rem 40px;
  }

  .footer-container .column:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 1.5rem 32px;
  }

  .footer-container .column:nth-child(3) {
    grid-column: 1;
  }

  .column h3 {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .column h4,
  .footer-link,
  .social-link {
    font-size: 0.875rem;
  }

  .footer-container .column iframe {
    height: 170px;
  }

  .footer-bottom {
    padding: 12px 1rem;
  }

  .action-content {
    padding: 0 1rem;
  }
}

/* ── Prevenir scroll horizontal ── */
body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
