.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 17, 18, 0.06);
}
.topo-miolo {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.marca {
  font-weight: 800;
  font-size: 1.55rem;
  text-decoration: none;
  letter-spacing: -0.045em;
  color: var(--cor-tinta);
  line-height: 1;
}
.marca span { position: relative; display: inline-block; }
.marca span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  border-radius: 99px;
  background: var(--cor-verde);
}
.marca img { height: 36px; width: auto; }
.menu { display: none; }
.menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: #3d4542;
  padding: 6px 0;
}
.menu a.ativo {
  color: var(--cor-tinta);
  box-shadow: inset 0 -2px 0 var(--cor-verde);
}
.topo-acoes { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topo-acoes .botao {
  background: var(--cor-verde);
  color: var(--cor-tinta);
  border: 0;
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.92rem;
}
.topo-busca {
  display: flex;
  align-items: center;
  border-radius: 999px;
}
.topo-busca input {
  width: 0;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
}
.topo-busca:focus-within input,
.topo-busca input:not(:placeholder-shown) {
  width: 148px;
  opacity: 1;
  padding: 0 8px 0 12px;
  border: 1px solid var(--cor-linha);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: #fff;
}
.topo-busca button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--cor-tinta);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.topo-busca svg, .menu-abre svg, .rodape-redes svg { width: 20px; height: 20px; }
.menu-abre {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--cor-tinta);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.barra-baixo {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--cor-tinta);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.barra-baixo a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
}
.barra-baixo a.ativo { color: var(--cor-verde); }
.barra-baixo .ico { display: block; font-size: 1rem; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

.rodape {
  position: relative;
  background: #0E1112;
  color: var(--cor-papel);
  overflow: hidden;
  padding: 0 0 22px;
}
.rodape-paisagem { position: absolute; inset: 0 0 64px 0; }
.rodape-paisagem svg { width: 100%; height: 100%; display: block; }
.rodape-grade, .rodape-base { position: relative; z-index: 1; }
.rodape-grade {
  display: grid;
  gap: 22px;
  min-height: 210px;
  align-content: end;
  padding-top: 72px;
  padding-bottom: 28px;
}
.rodape-frase, .rodape-decisao {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 18ch;
}
.rodape-decisao { font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 28ch; justify-self: end; }
.rodape a { color: var(--cor-papel); text-decoration: none; }
.rodape-base {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
}
.rodape-base nav { display: flex; gap: 14px; flex-wrap: wrap; }
.marca-clara { color: #fff; font-size: 1.35rem; }
.rodape-redes { margin-left: auto; display: flex; gap: 8px; }
.rodape-redes a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.rodape-redes a:hover { color: var(--cor-verde); border-color: var(--cor-verde); }

.whats-flutuante {
  position: fixed;
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 25;
  background: var(--cor-verde);
  color: var(--cor-tinta);
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 16px;
}

@media (max-width: 1079px) {
  .menu {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--cor-linha);
    padding: 8px 16px 16px;
    box-shadow: var(--sombra);
  }
  .menu.aberto { display: grid; }
  .menu a { padding: 12px 4px; }
  .topo { position: sticky; }
}
@media (min-width: 1080px) {
  .topo-miolo { display: grid; grid-template-columns: auto 1fr auto; }
  .menu { display: flex; gap: 22px; align-items: center; justify-content: center; }
  .menu-abre { display: none; }
  .barra-baixo { display: none; }
  body { padding-bottom: 0; }
  .whats-flutuante { bottom: 24px; }
  .rodape-grade { grid-template-columns: 1fr 1fr; align-items: end; }
}
