/* ==========================================================================
   VIVA LEVE — v3.0
   Layout da v2 (dark, cards brancos) + menus e botões simples da v1
   ========================================================================== */

:root {
  --bg: #121815;
  --superficie: #1b2420;
  --linha: rgba(255, 255, 255, .09);
  --texto: #f4f7f4;
  --texto-2: #a5b2a9;
  --lime: #c3e88d;
  --lime-forte: #a6d85b;
  --branco: #ffffff;
  --wa: #25d366;
  --tg: #229ed9;
  --radius: 16px;
  --header-h: 74px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 200;
  background: var(--lime);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .3s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   HEADER — simples, como a v1
   -------------------------------------------------------------------------- */
.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(18, 24, 21, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.topo-inner {
  width: min(1320px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.marca { display: inline-flex; align-items: center; flex: 0 0 auto; }
.marca-logo { height: 34px; width: auto; }

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  letter-spacing: .03em;
}
.menu a { color: var(--texto); opacity: .78; transition: opacity .3s, color .3s; }
.menu a:hover { opacity: 1; color: var(--lime); }

.menu-toggle { display: none; }

/* --------------------------------------------------------------------------
   BOTÕES — pílulas simples, como a v1
   -------------------------------------------------------------------------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 15px/1 var(--font);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  color: #101712;
  background: var(--lime);
  border: 0;
  border-radius: 999px;
  padding: 17px 30px;
  transition: transform .4s ease, filter .3s ease, background .3s ease, color .3s ease;
}
.botao:hover { transform: translateY(-2px); filter: brightness(1.06); }
.botao--ghost {
  background: transparent;
  color: var(--texto);
  border: 1px solid var(--linha);
}
.botao--ghost:hover { filter: none; border-color: var(--lime); color: var(--lime); }

/* --------------------------------------------------------------------------
   HERO — layout da v2
   -------------------------------------------------------------------------- */
.hero { padding-top: calc(var(--header-h) + 72px); padding-bottom: 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-eyebrow {
  margin: 0 0 22px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero-sub {
  margin: 0 0 34px;
  max-width: 510px;
  color: var(--texto-2);
  font-size: 16px;
  line-height: 1.7;
}
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 20%, #2c4234 0%, #1b2420 48%, #141c18 100%);
  border: 1px solid var(--linha);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 13, .82) 100%);
  pointer-events: none;
}
.hero-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: .82;
  transition: transform .6s ease;
}
.hero-card:hover .hero-card-img { transform: scale(1.04); }
.hero-card-overlay { position: absolute; left: 34px; right: 34px; bottom: 34px; z-index: 2; }
.hero-card-kicker {
  margin: 0 0 10px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
}
.hero-card-frase {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}

/* --------------------------------------------------------------------------
   PRODUTOS — cards brancos da v2
   -------------------------------------------------------------------------- */
.produtos { padding-block: 76px 96px; border-top: 1px solid var(--linha); }
.secao-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.secao-head h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -.035em;
}
.secao-head p { margin: 0; color: var(--texto-2); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--branco);
  color: #16201a;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0, 0, 0, .34); }

.product-card-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f4ef; }
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }

.tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.tag-lime { background: var(--lime-forte); color: #101712; }
.tag-outline { background: rgba(255,255,255,.92); color: #31513a; border: 1px solid #cbd9c9; }

.product-card-content { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.product-card-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: #142019;
}
.product-card-content p { margin: 0 0 18px; color: #5f6d63; font-size: 13px; line-height: 1.55; }
.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e8ede7;
}
.btn-card {
  flex: 1 1 auto;
  min-width: 84px;
  padding: 10px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .3s ease, filter .3s ease;
}
.btn-card:hover { transform: translateY(-2px); filter: brightness(.95); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-tg { background: var(--tg); color: #fff; }
.btn-detalhes { background: #eef2ed; color: #2c4634; cursor: pointer; border: 0; font-family: var(--font); }

/* --------------------------------------------------------------------------
   MODAL DE DETALHES — fica dentro da V3
   -------------------------------------------------------------------------- */
.modal-detalhes {
  width: min(520px, calc(100% - 32px));
  max-height: min(85vh, 700px);
  padding: 32px;
  border: 1px solid var(--linha);
  border-radius: 20px;
  background: var(--superficie);
  color: var(--texto);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}
.modal-detalhes::backdrop { background: rgba(8, 12, 10, .74); backdrop-filter: blur(4px); }
.modal-fechar {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--linha);
  border-radius: 50%;
  background: transparent;
  color: var(--texto-2);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color .3s, border-color .3s;
}
.modal-fechar:hover { color: var(--lime); border-color: var(--lime); }
.modal-eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
}
.modal-detalhes h2 {
  margin: 0 0 12px;
  padding-right: 30px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.modal-descricao { margin: 0 0 20px; color: var(--texto-2); font-size: 14px; }
.modal-lista { margin: 0 0 24px; padding-left: 18px; color: var(--texto-2); font-size: 13px; }
.modal-lista li { margin-bottom: 8px; }
.modal-lista strong { color: var(--texto); font-weight: 600; }
.modal-acoes { display: flex; gap: 8px; padding-top: 16px; border-top: 1px solid var(--linha); }

/* --------------------------------------------------------------------------
   PROPOSTA
   -------------------------------------------------------------------------- */
.proposta { padding-block: 84px; background: var(--superficie); border-block: 1px solid var(--linha); }
.proposta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.proposta-eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}
.proposta h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.proposta-texto { margin: 0; color: var(--texto-2); font-size: 15px; line-height: 1.75; }
.proposta-selo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--linha);
  border-radius: 28px;
  background: radial-gradient(circle at 70% 30%, rgba(195, 232, 141, .12), transparent 60%);
}
.proposta-selo p { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1.05; text-align: center; }
.proposta-selo em { color: var(--lime); font-weight: 500; }
.selo-linha { position: absolute; top: 24px; left: 24px; width: 34px; height: 2px; background: var(--lime); }

/* --------------------------------------------------------------------------
   RODAPÉ
   -------------------------------------------------------------------------- */
.rodape { padding-block: 46px; }
.rodape-inner { display: grid; gap: 10px; }
.rodape-marca { display: flex; align-items: center; margin-bottom: 8px; }
.rodape-marca .marca-logo { height: 30px; }
.rodape p { margin: 0; color: var(--texto-2); font-size: 12px; }
.rodape-fine { color: #6f7d74 !important; }

/* --------------------------------------------------------------------------
   RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .menu { gap: 18px; }
  .menu a { font-size: 13px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .topo-inner, .container { width: min(100% - 36px, 720px); }
  .menu {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(18, 24, 21, .98);
    border-bottom: 1px solid var(--linha);
  }
  .menu.aberto { display: flex; }
  .menu a { padding: 12px 2px; border-bottom: 1px solid var(--linha); opacity: 1; }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 4px;
    width: 36px; height: 36px;
    border: 0;
    background: transparent;
    color: var(--texto);
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 19px; height: 1.5px; background: currentColor; }
  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 100%; }
  .hero-visual { justify-content: flex-start; }
  .hero-card { max-width: 520px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .proposta-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 620px) {
  .topo-inner, .container { width: calc(100% - 32px); }
  .marca-logo { height: 28px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-sub { font-size: 14px; }
  .hero-acoes .botao { flex: 1 1 100%; padding: 16px 20px; }
  .hero-card { aspect-ratio: 1 / 1; border-radius: 22px; }
  .hero-card-overlay { left: 22px; right: 22px; bottom: 22px; }
  .produtos { padding-block: 56px 68px; }
  .secao-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-image { aspect-ratio: 4 / 3; }
  .proposta { padding-block: 62px; }
  .proposta-selo { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
