:root {
  --verde-escuro: #2f5a42;
  --verde-musgo: #3d6b50;
  --verde-medio: #5a8a6a;
  --verde-acento: #7fb04b;
  --verde-claro: #a8c884;
  --bg: #f7f5f0;
  --bg-card: #ffffff;
  --texto: #1f2a23;
  --texto-suave: #4a5a4f;
  --linha: #e3ddd2;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --sombra: 0 4px 16px rgba(31, 42, 35, 0.08);
  --sombra-md: 0 8px 32px rgba(31, 42, 35, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--verde-musgo); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-weight: 800; line-height: 1.2; color: var(--texto); margin: 0 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--verde-musgo); }
h3 { font-size: 1.35rem; color: var(--verde-escuro); }

.container { width: min(1120px, 92%); margin-inline: auto; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--linha);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
}
.logo { height: 38px; width: auto; }
.logo-link { display: flex; align-items: center; }
.nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.5rem); }
.nav a {
  color: var(--texto); font-weight: 600; font-size: 0.95rem;
  padding: 0.4rem 0.6rem; border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--bg); text-decoration: none; }
.nav .nav-cta {
  background: var(--wa); color: #fff; padding: 0.55rem 1rem;
  border-radius: 999px; font-weight: 700;
}
.nav .nav-cta:hover { background: var(--wa-dark); text-decoration: none; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--sombra-md); }
.btn-primary { background: var(--verde-acento); color: #fff; box-shadow: var(--sombra); }
.btn-primary:hover { background: var(--verde-musgo); }
.btn-secondary { background: var(--wa); color: #fff; box-shadow: var(--sombra); }
.btn-secondary:hover { background: var(--wa-dark); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.1rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--verde-musgo), var(--verde-escuro));
  color: #fff;
  padding: clamp(3rem, 8vh, 6rem) 0;
}
.hero-media {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  opacity: 0.32;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(47, 90, 66, 0.85) 0%, rgba(61, 107, 80, 0.6) 55%, rgba(127, 176, 75, 0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1120px, 92%); margin-inline: auto;
  max-width: 760px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero h1 em { color: var(--verde-claro); font-style: normal; }
.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 2rem;
  max-width: 580px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ============ SOBRE ============ */
.sobre {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--bg);
}
.sobre p { font-size: 1.05rem; color: var(--texto-suave); max-width: 75ch; }
.sobre p + p { margin-top: 0.85rem; }
.badges {
  list-style: none; padding: 0; margin: 1.75rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.badges li {
  background: #fff;
  border: 1px solid var(--linha);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--verde-musgo);
}

/* ============ PRODUTOS ============ */
.produtos {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.section-lead { color: var(--texto-suave); font-size: 1.05rem; max-width: 65ch; margin-bottom: 2.5rem; }

.produto-bloco {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
  border: 1px solid var(--linha);
}
.produto-bloco-header {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.produto-bloco-header img {
  width: 130px; height: 130px; object-fit: contain;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}
.produto-bloco-header h3 { margin-bottom: 0.4rem; }
.produto-bloco-header p { color: var(--texto-suave); margin: 0; font-size: 0.95rem; }

.tabela-wrap { overflow-x: auto; }
.produto-bloco table {
  width: 100%; border-collapse: collapse;
  font-size: 0.95rem;
}
.produto-bloco th {
  background: var(--verde-musgo);
  color: #fff;
  text-align: left;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.produto-bloco th:first-child { border-top-left-radius: var(--radius-sm); }
.produto-bloco th:last-child { border-top-right-radius: var(--radius-sm); }
.produto-bloco td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--linha);
}
.produto-bloco tr:last-child td { border-bottom: none; }
.produto-bloco tr:nth-child(even) td { background: rgba(127, 176, 75, 0.05); }
.produto-bloco td:first-child { font-weight: 700; color: var(--verde-musgo); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; }

.produto-bloco-header.sem-imagem { margin-bottom: 1.75rem; }

.acessorios-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.acessorio-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--linha);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.acessorio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra);
  border-color: var(--verde-claro);
}
.acessorio-foto {
  background: #fff;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  border-bottom: 1px solid var(--linha);
}
.acessorio-foto img { max-width: 100%; max-height: 100%; object-fit: contain; }
.acessorio-info {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.acessorio-codigo {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--verde-musgo);
  letter-spacing: 0.04em;
}
.acessorio-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.3;
}
.acessorio-medida {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--texto-suave);
  font-weight: 600;
}

.catalogo-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--verde-musgo), var(--verde-escuro));
  border-radius: var(--radius);
  box-shadow: var(--sombra-md);
}
.catalogo-cta p { font-size: 1.2rem; font-weight: 600; margin: 0 0 1.5rem; color: #fff; }

/* ============ CONTATO ============ */
.contato {
  background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--verde-musgo) 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.contato h2 { color: #fff; }
.contato .section-lead { color: rgba(255,255,255,0.85); }

.vendedores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.vendedor-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 1.5rem;
  border-radius: var(--radius);
  color: #fff;
  transition: background 0.2s ease, transform 0.15s ease;
}
.vendedor-card:hover {
  background: rgba(255,255,255,0.14);
  text-decoration: none;
  transform: translateY(-2px);
}
.vendedor-card .wa-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  background: var(--wa);
  border-radius: 50%;
  padding: 12px;
  fill: #fff;
}
.vendedor-card > div { display: flex; flex-direction: column; gap: 0.15rem; }
.vendedor-nome { font-weight: 700; font-size: 1.1rem; }
.vendedor-tel { font-size: 1.25rem; font-weight: 700; color: var(--verde-claro); letter-spacing: 0.01em; }
.vendedor-acao { font-size: 0.85rem; opacity: 0.85; margin-top: 0.25rem; }

.contato-extras {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 2rem;
}
.contato-extras li { display: flex; align-items: center; gap: 0.6rem; font-size: 1rem; }
.contato-extras svg { width: 22px; height: 22px; color: var(--verde-claro); flex-shrink: 0; }
.contato-extras a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ============ FOOTER ============ */
.site-footer {
  background: #1a2620;
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.logo-footer { height: 36px; filter: brightness(0) invert(1) opacity(0.85); }
.footer-tag { margin: 0; font-style: italic; color: rgba(255,255,255,0.6); }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer nav a { color: #fff; font-weight: 600; }
.copy { font-size: 0.85rem; margin: 0.5rem 0 0; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 60px; height: 60px;
  background: var(--wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 100;
  transition: transform 0.2s ease, background 0.2s ease;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ============ RESPONSIVO ============ */
@media (max-width: 720px) {
  .nav a:not(.nav-cta) { display: none; }

  .produto-bloco-header { flex-direction: column; align-items: flex-start; text-align: left; }
  .produto-bloco-header img { width: 100%; max-width: 200px; height: 130px; margin-inline: auto; }

  /* Tabelas viram cards */
  .produto-bloco thead { display: none; }
  .produto-bloco table, .produto-bloco tbody, .produto-bloco tr, .produto-bloco td {
    display: block; width: 100%;
  }
  .produto-bloco tr {
    background: var(--bg) !important;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid var(--linha);
  }
  .produto-bloco td {
    border: none;
    padding: 0.35rem 0;
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  }
  .produto-bloco td:first-child {
    border-bottom: 1px solid var(--linha);
    margin-bottom: 0.35rem; padding-bottom: 0.5rem;
    font-size: 1rem;
  }
  .produto-bloco td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--texto-suave);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .produto-bloco td:first-child::before { display: none; }

  .vendedor-card { flex-direction: column; text-align: center; }

  .hero { min-height: 70vh; }
  .hero-media { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .cta-row .btn { width: 100%; justify-content: center; }
  .wa-float { width: 54px; height: 54px; bottom: 1rem; right: 1rem; }
  .wa-float svg { width: 28px; height: 28px; }
}
