/* Rodape + copyright (custom_views/components/rodape.phtml).
   Linkado pelo layout.phtml com ?v=filemtime (cache immutable de 1 ano).
   Usa os tokens do assets/css/style.css (--navy, --blue, --line, --muted...). */

.rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px max(var(--gutter), calc((100% - var(--content)) / 2)) 42px;
}

.rodape p {
  margin: 0;
  font-size: .875rem;
}

.rodape-marca img {
  display: block;
  height: 92px;
  width: auto;
}

/* Instagram em pilula com icone, como o "Seguir" dos cards de /contato */
.rodape-insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--blue);
  font-size: .9375rem;
  font-weight: 800;
}

.rodape-insta:hover {
  background: var(--navy);
  color: #fff;
}

.rodape-insta svg {
  flex-shrink: 0;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding: 20px max(var(--gutter), calc((100% - var(--content)) / 2));
  border-top: 1px solid var(--line);
}

.copyright p {
  margin: 0;
  font-size: .8125rem;
}

.copyright .dev {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  color: var(--muted);
}

.copyright .dev img {
  display: block;
  height: 22px;
  width: auto;
}

.copyright .dev a:hover {
  opacity: .75;
}

@media (max-width: 1100px) {
  .rodape {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .rodape,
  .copyright {
    flex-direction: column;
    align-items: flex-start;
  }

  .rodape {
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .rodape-marca img {
    height: 76px;
  }
}
