/* ===============================
   VARIÁVEIS GERAIS
   =============================== */
:root {
  --brand: hsl(229,34%,26%);
  --gold: #b89403;
  --bg-footer: #001c3f;
  --muted-white: #e6e9ef;
  --maxw: 1160px;
}

footer { 
  font-family: "Inter", "Segoe UI", sans-serif; 
  background: var(--bg-footer);
  color: #fff;
}

/* ===============================
   FOOTER TOP
   =============================== */
.footer-top {
  padding: 40px 20px;
}

.footer-container {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: start;
  text-align: center;
}

/* ===============================
   COLUNA BRAND
   =============================== */
.col-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.col-brand .brand-img {
  max-width: 220px;
  height: auto;
  margin-bottom: 12px;
}

.brand-desc {
  color: #d6dbe6;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 300px;
}

.brand-name {
  color: var(--gold);
  font-weight: 400;
}

.location {
  margin-top: 20px;
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.map-footer {
  text-align: center;
  margin-top: 12px;
}

.map-footer iframe {
  width: 250px;
  max-width: 100%;
  height: 150px;
  border: 0;
  border-radius: 8px;
}

/* ===============================
   COLUNA CONTATO
   =============================== */
.col-contact {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.col-contact p {
  margin: 6px 0;
}

.contact-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s ease;
}

.contact-link:hover {
  opacity: 0.9;
  text-decoration: underline;
}

.contact-icon {
  width: 22px;
  font-size: 1.05rem;
  min-width: 22px;
  text-align: center;
  color: var(--gold);
}

.contact-text {
  color: #fff;
  font-size: 0.97rem;
}

.highlight-gold {
  color: var(--gold);
  font-weight: 400;
}

/* ===============================
   COLUNA SOCIAL
   =============================== */
.col-social {
  text-align: center;
}

.col-title {
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 12px;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.social-row a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-row a:hover {
  background: #fff;
  color: var(--bg-footer);
  box-shadow: 0 0 12px rgba(5, 36, 68, 0.85);
}

.site-map-links {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-map-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.18s ease;
}

.site-map-links a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* ===============================
   FOOTER BOTTOM
   =============================== */
.footer-bottom {
  text-align: center;
  padding: 16px 20px;
  font-size: 0.9rem;
}

.footer-bottom .dev-credit {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #d0d6e0;
}

/* ===============================
   DESKTOP — ajustes
   =============================== */
@media (min-width: 1000px) {
  .footer-container > :nth-child(2),
  .footer-container > :nth-child(3) {
    margin-top: 100px;
  }
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 999px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-desc {
    max-width: 100%;
  }

  .social-row {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .social-row a {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .brand-img {
    max-width: 180px;
  }
}
