.wrap {
  box-sizing: border-box;
  width: min(100%, var(--max-conteudo));
  margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell__main {
  flex: 1;
}

.shell__footer {
  margin-top: var(--espaco-2xl);
  padding: clamp(2rem, 5vw, 3rem) 0 calc(1.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid color-mix(in srgb, var(--cor-linha) 85%, transparent);
  background: color-mix(in srgb, var(--cor-papel-forte) 55%, transparent);
  color: var(--cor-tinta-suave);
  font-size: 0.95rem;
}

.shell__footer-inner {
  display: grid;
  gap: 1.25rem;
  text-align: center;
  justify-items: center;
}

.shell__footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
}

.shell__footer-logo {
  display: block;
  height: 2.75rem;
  width: 2.75rem;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.shell__footer-name {
  margin: 0;
  font-family: var(--fonte-display);
  font-size: 1.2rem;
  font-weight: 560;
  color: var(--cor-azul-mar-profundo);
  letter-spacing: -0.015em;
}

.shell__footer-place {
  margin: 0;
  font-size: 0.92rem;
}

.shell__footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1rem;
}

.shell__footer-nav > a {
  color: var(--cor-tinta-suave);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.shell__footer-nav > a:hover {
  color: var(--cor-azul-mar);
}

.shell__footer-nav .lang-switch {
  margin-left: 0.15rem;
}

.shell__footer-cta {
  margin: 0.15rem 0 0;
}

.shell__footer-cta .btn {
  min-width: 10rem;
}

.shell__footer-copy {
  margin: 1.35rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--cor-linha) 80%, transparent);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--cor-tinta-suave) 88%, transparent);
  letter-spacing: 0.01em;
}

@media (min-width: 720px) {
  .shell__footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    text-align: left;
    justify-items: stretch;
  }
  .shell__footer-nav {
    justify-content: flex-end;
  }
  .shell__footer-cta {
    justify-self: end;
  }
  .shell__footer-copy {
    text-align: left;
  }
}
