:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --ink: #141914;
  --muted: #667066;
  --green: #24382a;
  --green-2: #314d39;
  --gold: #c2a46a;
  --gold-soft: #efe6d2;
  --line: rgba(36, 56, 42, 0.1);
  --shadow: 0 28px 70px rgba(20, 25, 20, 0.12);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: max(5vw, calc(50vw - 620px));
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: Fraunces, serif;
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
}

.barra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s ease;
}

body.rolou .barra,
body:not(.pagina-home) .barra {
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: var(--line);
}

.marca img {
  height: 52px;
  width: auto;
  transition: filter 0.35s ease, transform 0.45s var(--ease);
}

.pagina-home:not(.rolou) .marca img {
  filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.marca:hover img { transform: scale(1.03); }

.menu {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}

.menu a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pagina-home:not(.rolou) .menu a { color: #f7f4ee; }
.menu a:hover { background: rgba(36, 56, 42, 0.08); }
.pagina-home:not(.rolou) .menu a:hover { background: rgba(255, 255, 255, 0.14); }

.cesta {
  background: var(--green) !important;
  color: #f7f4ee !important;
}

.pagina-home:not(.rolou) .cesta {
  background: #f7f4ee !important;
  color: var(--green) !important;
}

.cesta em {
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  margin-left: 0.3rem;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 13px 12px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.pagina-home:not(.rolou) .menu-btn {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--green);
  transition: transform 0.35s var(--ease);
}

.pagina-home:not(.rolou) .menu-btn span { background: #f7f4ee; }
body.menu-aberto .menu-btn span:first-child { transform: translateY(3.75px) rotate(45deg); }
body.menu-aberto .menu-btn span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.avisos { padding: 5.5rem var(--pad) 0; }
.aviso {
  margin: 0 auto;
  max-width: 420px;
  padding: 0.8rem 1rem;
  background: var(--gold-soft);
  border-radius: 16px;
  text-align: center;
  animation: descer 0.45s var(--ease);
}
.aviso.erro { background: #ead3c8; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f4ee;
}

.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: zoom-lento 18s var(--ease) infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 12, 0.35) 0%, rgba(10, 16, 12, 0.15) 35%, rgba(10, 16, 12, 0.78) 100%),
    linear-gradient(90deg, rgba(10, 16, 12, 0.55) 0%, transparent 55%);
}

.hero-conteudo {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 7.5rem var(--pad) 5.5rem;
  animation: subir 1s var(--ease) both;
}

.hero .olho {
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.2rem);
  margin: 0 0 1.1rem;
  color: #fffdf8;
  max-width: 11ch;
}

.hero .lead {
  max-width: 32rem;
  font-size: 1.12rem;
  color: rgba(247, 244, 238, 0.88);
}

.hero .botao.fantasma {
  color: #f7f4ee;
  border-color: rgba(247, 244, 238, 0.35);
}

.hero .botao.fantasma:hover {
  background: rgba(247, 244, 238, 0.12);
}

.hero-descer {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 2;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 244, 238, 0.35);
  border-radius: 999px;
  color: #f7f4ee;
  animation: pulsar 2.2s ease-in-out infinite;
}

.olho {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: var(--gold);
}

.pagina h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 0 0 1.1rem; }
.lead { margin: 0; line-height: 1.75; color: var(--muted); }

.pagina { padding: 7.5rem var(--pad) 5rem; }
.bloco, .vitrine { padding: 5rem var(--pad); }
.bloco.claro { background: #fffdf8; }
.bloco-cabeca { margin-bottom: 2.4rem; max-width: 40rem; }
.bloco-cabeca.central,
.acoes.central { margin-left: auto; margin-right: auto; text-align: center; }
.acoes.central { justify-content: center; margin-top: 2.4rem; }
.bloco-cabeca h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.bloco-cabeca p:last-child { color: var(--muted); }

.acoes { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.8rem; align-items: center; }

.botao, button, .filtros a, .menu-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.botao, .cartao-pe button, .tabela button {
  background: var(--green);
  color: #f7f4ee;
  padding: 0.95rem 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.botao:hover, .cartao-pe button:hover, .tabela button:hover {
  background: var(--green-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(36, 56, 42, 0.2);
}

.botao.fantasma {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  box-shadow: none;
}

.botao.fantasma:hover { background: rgba(255, 255, 255, 0.08); }

.mosaico {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.9rem;
}

.tile {
  position: relative;
  grid-column: span 4;
  min-height: 280px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
}

.tile-grande { grid-column: span 7; min-height: 420px; }
.tile-medio { grid-column: span 5; min-height: 420px; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.9s var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 16, 12, 0.78));
}

.tile-info {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.4rem 1.5rem 1.5rem;
}

.tile h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.tile span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.tile:hover img { transform: scale(1.08); }

.faixa-marca {
  background: var(--green);
  color: #f4efe4;
  padding: 6rem var(--pad);
}

.faixa-marca-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.faixa-marca .olho { color: var(--gold); }
.faixa-marca h2 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin: 0 0 1.2rem;
}
.faixa-marca p {
  color: rgba(244, 239, 228, 0.78);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0 auto 2rem;
  max-width: 36rem;
}

.grade-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}

.cartao-produto, .tabela-wrap, .vazio, .produto-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease;
}

.cartao-produto {
  padding: 0.55rem 0.55rem 1.1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cartao-produto:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.cartao-foto {
  overflow: hidden;
  background: #efe8da;
  border-radius: 20px;
  height: 230px;
  margin-bottom: 1rem;
}

.cartao-foto img,
.celula-produto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.cartao-produto:hover .cartao-foto img { transform: scale(1.08); }

.cartao-produto > a { display: block; }
.cartao-produto .etiqueta,
.cartao-produto h3,
.cartao-produto p { padding: 0 0.55rem; }
.cartao-produto h3 { margin: 0.35rem 0 0.35rem; font-size: 1.35rem; }
.cartao-produto p { color: var(--muted); margin: 0; font-size: 0.9rem; }

.etiqueta {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.cartao-pe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  padding: 1rem 0.55rem 0.1rem;
}

.cartao-pe small, .origem, .preco small { display: block; color: var(--muted); font-weight: 500; }
.sobre p, .produto-info p { line-height: 1.85; max-width: 42rem; color: var(--muted); }

.filtros { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 2.2rem; }
.filtros a {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s ease, transform 0.3s var(--ease);
}
.filtros a:hover { transform: translateY(-1px); border-color: var(--green); }
.filtros a.ativo { background: var(--green); color: #f7f4ee; border-color: var(--green); }

.produto-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  margin: 0.5rem 0 3.5rem;
  align-items: center;
}

.produto-visual {
  min-height: 460px;
  overflow: hidden;
  background: #efe8da;
  display: grid;
  place-items: center;
  padding: 1.4rem;
}

.produto-visual img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  transition: transform 0.7s var(--ease);
}

.produto-visual:hover img { transform: scale(1.04); }

.celula-produto {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.celula-produto img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
}

.preco { font-family: Fraunces, serif; font-size: 2.2rem; color: var(--ink) !important; margin: 1rem 0 !important; }
.form-qtd, .tabela form { display: flex; gap: 0.6rem; align-items: end; }
input[type="number"] {
  width: 5.2rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  border-radius: 14px;
}

.tabela { width: 100%; border-collapse: collapse; }
.tabela th, .tabela td { text-align: left; padding: 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabela small { display: block; color: var(--muted); }
.total { font-size: 1.35rem; }
.voltar {
  color: var(--muted);
  display: inline-block;
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.voltar:hover { color: var(--green); }

.sobre-topo {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

.sobre-topo img { width: 160px; }

.sobre-instagram {
  background: var(--green);
  padding: 4.5rem var(--pad);
  text-align: center;
}

.sobre-instagram a {
  font-family: Fraunces, serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600;
  color: #f4efe4;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.sobre-instagram a:hover {
  color: var(--gold);
}

.vazio {
  text-align: center;
  padding: 3.2rem 1.5rem;
  max-width: 420px;
}

.vazio img { height: 88px; margin: 0 auto 1rem; }

.rodape {
  background: #152019;
  color: #eadfcf;
  padding: 3.2rem var(--pad) 1.4rem;
}

.rodape-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.85fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

.rodape-marca img {
  width: 132px;
  margin-bottom: 0.9rem;
  filter: brightness(0) invert(0.92) sepia(0.2);
}

.rodape-marca p {
  margin: 0;
  max-width: 22rem;
  color: #b8a893;
  line-height: 1.7;
  font-size: 0.95rem;
}

.rodape a,
.rodape p {
  display: block;
  color: #d7cbb8;
  line-height: 1.75;
  font-size: 0.95rem;
}

.rodape a {
  transition: color 0.25s ease, transform 0.25s var(--ease);
}

.rodape a:hover {
  color: #fff;
  transform: translateX(2px);
}

.rodape strong {
  display: block;
  margin-bottom: 0.85rem;
  color: #f7f4ee;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.rodape-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rodape-base p {
  margin: 0;
  font-size: 0.84rem;
  color: #8f8374;
}

.revelar,
.bloco-cabeca,
.faixa-marca-inner {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.revelar.visivel,
.bloco-cabeca.visivel,
.faixa-marca-inner.visivel {
  opacity: 1;
  transform: none;
}

@keyframes subir {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes descer {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes zoom-lento {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes pulsar {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (max-width: 980px) {
  .mosaico { grid-template-columns: 1fr 1fr; }
  .tile, .tile-grande, .tile-medio {
    grid-column: span 1;
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  .produto-grid, .sobre-topo { grid-template-columns: 1fr; }
  .rodape-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .rodape-marca { grid-column: 1 / -1; }
  .hero-conteudo { padding: 6.5rem var(--pad) 4.5rem; }
  .hero h1 { max-width: none; }
  .hero-foto { object-position: 62% center; }
  .marca img { height: 44px; }
  .menu-btn { display: flex; }
  .menu {
    display: none;
    position: absolute;
    right: var(--pad);
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    color: var(--ink);
    padding: 0.7rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    min-width: 190px;
  }
  body.menu-aberto .menu { display: flex; }
  .pagina-home:not(.rolou) .menu a { color: var(--ink); }
  .pagina-home:not(.rolou) .cesta {
    background: var(--green) !important;
    color: #f7f4ee !important;
  }
}

@media (max-width: 640px) {
  .mosaico { grid-template-columns: 1fr; }
  .tile, .tile-grande, .tile-medio { min-height: 240px; }
  .rodape-grid { grid-template-columns: 1fr; }
  .rodape-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .revelar, .bloco-cabeca, .faixa-marca-inner {
    opacity: 1;
    transform: none;
  }
}
