:root {
  --acento: #6a9a82;
  --acento-escuro: #3f6d58;
  --tinta: #15211c;
  --papel: #f3f0e8;
  --card: #ffffff;
  --linha: #e4dfd4;
  --texto: #24312c;
  --sombra: 0 18px 50px rgba(16, 40, 36, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background: var(--papel);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--acento-escuro); }

.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  color: #fff;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.topo.solido {
  background: rgba(21, 33, 28, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.topo-interno {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.marca {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  margin-right: auto;
}

.marca span { color: var(--acento); }

.topo nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topo nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.topo nav a:hover { color: var(--acento); }

.topo nav a.pill:hover { color: #fff; }

.hamb {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.hamb span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}

.pill, a.pill, .botao, button.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--tinta);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.pill:hover, .botao:hover { transform: translateY(-2px); }

.pill.cheio, .botao.cheio, a.botao {
  background: var(--acento);
  color: #fff;
}

.topo .pill.cheio { padding: 10px 16px; }

.pill.fantasma, .botao.claro, .botao.escuro {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.botao.escuro {
  color: var(--tinta);
  box-shadow: inset 0 0 0 1.5px var(--linha);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
  background: var(--tinta);
}

.hero-fundo {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(900px 520px at 70% 20%, rgba(106, 154, 130, 0.55), transparent 60%),
    radial-gradient(700px 480px at 15% 80%, rgba(63, 109, 88, 0.45), transparent 55%),
    linear-gradient(180deg, #24382f 0%, #15211c 55%, #0e1714 100%);
  animation: respiro 16s ease-in-out infinite alternate;
}

.hero-foto {
  position: relative;
  width: min(720px, 100%);
  margin: 40px auto 0;
  border-radius: 20px;
  box-shadow: var(--sombra);
  background: #fff;
}

.hero-produtos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 36px;
}

.hero-produtos a {
  color: #fff;
  text-decoration: none;
}

.hero-produtos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--sombra);
  background: #fff;
}

.hero-produtos img.logo,
.cartao img.logo,
.logo-produto {
  width: auto;
  max-width: 100%;
  height: 120px;
  margin: 0 auto 4px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
}

.hero-produtos span {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}

.hero-conteudo {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 36px;
  text-align: center;
}

.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(3rem, 6.4vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 38rem;
  margin: 22px auto 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero .entra { animation: sobe 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .entra.d2 { animation-delay: 0.12s; }
.hero .entra.d3 { animation-delay: 0.24s; }

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  padding: 18px 0;
}

.marquee-trilho {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: faixa 32s linear infinite;
}

.marquee span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  white-space: nowrap;
}

.bloco, .miolo {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

main > .miolo:first-child { padding-top: 132px; }

.olho {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acento-escuro);
}

h2 {
  margin: 0;
  color: var(--tinta);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 16ch;
}

.sub {
  max-width: 38rem;
  margin-top: 14px;
  font-size: 1.05rem;
}

.carrossel-caixa { position: relative; margin-top: 36px; }

.carrossel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 4px 20px;
}

.carrossel::-webkit-scrollbar { display: none; }

.cartao, .card {
  scroll-snap-align: start;
  flex: 0 0 min(320px, 82vw);
  background: var(--card);
  border-radius: 24px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(16, 40, 36, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.grade .card { flex: initial; }

.cartao:hover, .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra);
}

.cartao h3, .card h3 { margin: 12px 0 8px; color: var(--tinta); font-size: 1.25rem; }
.cartao p, .card p { margin: 0; }
.cartao img, .card img { border-radius: 16px; width: 100%; height: 190px; object-fit: cover; object-position: top; background: #f3f6f5; }

.setas {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.seta {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--tinta);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.seta:hover { transform: scale(1.06); background: var(--acento-escuro); }

.grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.painel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.painel img {
  border-radius: 28px;
  box-shadow: var(--sombra);
  background: #fff;
}

.numeros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.numero {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px;
}

.numero b {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--tinta);
  line-height: 1;
}

.faixa {
  background: var(--tinta);
  color: #fff;
  text-align: center;
}

.faixa .miolo, .faixa .bloco { padding-top: 88px; padding-bottom: 88px; }

.faixa h2 { color: #fff; margin-left: auto; margin-right: auto; }

.faixa p { margin: 16px auto 0; max-width: 36rem; color: rgba(255, 255, 255, 0.82); }

.sobe {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sobe.visivel { opacity: 1; transform: none; }

.sobe.d1 { transition-delay: 0.08s; }
.sobe.d2 { transition-delay: 0.16s; }
.sobe.d3 { transition-delay: 0.24s; }

.lista-artigos { display: grid; gap: 16px; margin-top: 28px; }

.funcs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.func {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  padding: 28px 26px 26px;
  box-shadow: 0 10px 30px rgba(16, 40, 36, 0.06);
}

.func svg {
  width: 28px;
  height: 28px;
  stroke: var(--acento);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.func h3 { margin: 16px 0 8px; color: var(--tinta); font-size: 1.15rem; }

.func p { margin: 0; color: #4d5c56; flex: 1; }

.func-mais {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--acento-escuro);
  text-decoration: none;
}

.func-mais:hover { text-decoration: underline; }

.artigo-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.artigo-card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }

.artigo-card img { width: 100%; height: 100%; object-fit: cover; min-height: 130px; background: #e7f0ed; }

.artigo-card div { padding: 18px 18px 18px 0; }

.artigo-card h3 { margin: 0 0 6px; color: var(--tinta); }

.artigo-card p { margin: 0; }

.meta { color: #5c6b64; font-size: 0.9rem; }

.artigo { max-width: 46rem; }

.artigo-longo h2 { margin-top: 28px; font-size: 1.8rem; }

.artigo-longo ul { padding-left: 1.2rem; }

.figura { margin: 28px 0; }

.figura img { width: 100%; border-radius: 24px; background: #fff; }

.figura figcaption { margin-top: 8px; color: #5c6b64; font-size: 0.9rem; }

.traco { width: 72px; height: 4px; background: var(--acento); border: 0; margin: 16px 0; }

.formulario { display: grid; gap: 14px; max-width: 36rem; margin-top: 24px; }

label { display: grid; gap: 6px; font-weight: 700; color: var(--tinta); }

input, textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #cfcabb;
  border-radius: 14px;
  background: #fff;
}

.erro { color: #8d2b2b; font-weight: 500; font-size: 0.9rem; }

.aviso { background: #e7f3ec; border-radius: 14px; padding: 14px 16px; }

.contato-lista { padding-left: 18px; }

.matriz { width: 100%; border-collapse: collapse; background: #fff; border-radius: 20px; overflow: hidden; margin-top: 20px; }

.matriz th, .matriz td { border: 1px solid var(--linha); padding: 10px 12px; text-align: center; }

.matriz th:first-child, .matriz td:first-child { text-align: left; }

.ok { background: #d4edda; }
.aviso-cel { background: #fff3cd; }
.venc { background: #f8d7da; }
.na { background: #f0f0f0; color: #666; }

.legenda { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 0.9rem; }

.legenda i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-right: 4px; vertical-align: -2px; }

.rodape { background: var(--tinta); color: #d7e0da; padding: 56px 0 28px; }

.rodape-grade {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.rodape h3 { margin: 0 0 12px; color: #fff; font-size: 0.95rem; }

.rodape a { color: #fff; text-decoration: none; }

.rodape a:hover { color: var(--acento); }

.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.rodape-base {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.clientes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.clientes span { background: #fff; border-radius: 999px; padding: 8px 14px; }

@keyframes sobe {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes faixa {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes respiro {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes flutua {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

@media (max-width: 900px) {
  .hamb { display: block; }
  .topo nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(21, 33, 28, 0.96);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 22px 22px;
    gap: 14px;
  }
  .topo nav.aberta { display: flex; }
  .hero-foto { width: 100%; margin-top: 28px; }
  .hero-produtos { grid-template-columns: 1fr; }
  .painel, .grade, .numeros, .funcs, .artigo-card, .rodape-grade { grid-template-columns: 1fr; }
  .artigo-card div { padding: 0 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .sobe { opacity: 1; transform: none; }
}
