.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 { display: block; height: 34px; width: auto; }
.marca-clara img { height: 30px; }
.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-acoes .botao-conta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  line-height: 1.15;
  text-decoration: none;
}
.topo-conta { position: relative; }
.topo-conta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 12px 4px 4px;
  border: 1px solid rgba(14, 17, 18, .12);
  border-radius: 999px;
  background: #121416;
  color: #f4f5f4;
  font: inherit;
  cursor: pointer;
}
.topo-conta-btn:hover,
.topo-conta-btn[aria-expanded="true"] {
  border-color: rgba(140, 196, 0, .45);
  background: #1a1e21;
}
.topo-conta-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--cor-verde);
  color: var(--cor-tinta);
}
.topo-conta-avatar.letra {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .92rem;
}
.topo-conta-nome { font-weight: 800; font-size: .92rem; }
.topo-conta-seta {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
  transition: transform .2s ease;
}
.topo-conta-btn[aria-expanded="true"] .topo-conta-seta { transform: rotate(180deg); }
.topo-conta-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  min-width: 196px;
  padding: 8px;
  border: 1px solid rgba(14, 17, 18, .08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(14, 17, 18, .16);
}
.topo-conta-menu[hidden] { display: none !important; }
.topo-conta-menu a,
.topo-conta-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cor-tinta);
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.topo-conta-menu a:hover,
.topo-conta-menu button:hover { background: #f3f6ea; }
.topo-conta-menu hr {
  border: 0;
  border-top: 1px solid rgba(14, 17, 18, .08);
  margin: 6px 4px;
}
.topo-conta-menu form { margin: 0; }
.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; }
.topo-sacola {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cor-tinta);
  text-decoration: none;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease;
}
.topo-sacola svg {
  width: 26px;
  height: 26px;
}
.topo-sacola:hover {
  background: rgba(14, 17, 18, .05);
  color: #0E1112;
}
.topo-sacola b {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--cor-verde);
  color: var(--cor-tinta);
  font-size: .68rem;
  line-height: 16px;
  text-align: center;
}
.topo-sacola b[hidden] { display: none; }
.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 28px;
}
.rodape-paisagem { position: absolute; inset: 0 0 120px 0; opacity: .92; }
.rodape-paisagem svg { width: 100%; height: 100%; display: block; }
.rodape-grade, .rodape-selos, .rodape-base { position: relative; z-index: 1; }
.rodape-grade {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 32px;
  padding-top: 56px;
  padding-bottom: 28px;
}
.rodape-col {
  display: grid;
  gap: 10px;
  align-content: start;
}
.rodape-col strong {
  display: block;
  margin-bottom: 4px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.rodape-col a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
}
.rodape-col a:hover { color: var(--cor-verde); }
.rodape-marca p {
  margin: 10px 0 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
  line-height: 1.5;
  font-weight: 600;
}
.rodape a { color: var(--cor-papel); text-decoration: none; }
.rodape-selos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rodape-selo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(14, 17, 18, .35);
  color: rgba(255, 255, 255, .88);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.rodape-selo svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--cor-verde);
}
.rodape-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.rodape-copy {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: .84rem;
  font-weight: 600;
}
.rodape-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.rodape-legal a {
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  font-weight: 700;
}
.rodape-legal a:hover { color: var(--cor-verde); }
.marca-clara { color: #fff; font-size: 1.35rem; }
.rodape-redes { display: flex; gap: 8px; margin-top: 4px; }
.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;
  color: #fff;
}
.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: 1.4fr 1fr 1.2fr .9fr; align-items: start; }
}
