/* ============================================================
   ARMAZÉM DO JARDINEIRO — Estilos
   Design: paleta verde escuro + bege + madeira; tipografia
   Fraunces (display, serif moderna) + Manrope (corpo).
   ============================================================ */

/* ---------- Reset leve ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input { font: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Variáveis ---------- */
:root {
  /* Paleta */
  --green-900: #14281c;     /* fundo escuro */
  --green-800: #1f3a2b;     /* verde profundo */
  --green-700: #2d4a36;
  --green-600: #3d5a3a;     /* oliva escuro */
  --green-500: #6b8a45;     /* oliva */
  --green-400: #8bc34a;     /* verde marca (do logo) */
  --green-300: #b6d99b;
  --cream-50:  #faf7f1;     /* creme suave */
  --cream-100: #f3ecdf;
  --beige-200: #e8dcc6;
  --wood-500:  #a08868;
  --wood-700:  #6b5037;
  --ink-900:   #1b1b18;
  --ink-700:   #3a3a35;
  --ink-500:   #6b6b65;
  --ink-300:   #aaa9a2;
  --ink-100:   #e7e4dc;
  --white:     #ffffff;
  --shadow-sm: 0 2px 10px rgba(20, 40, 28, .08);
  --shadow-md: 0 10px 30px rgba(20, 40, 28, .12);
  --shadow-lg: 0 24px 60px rgba(20, 40, 28, .25);
  --radius:    14px;
  --radius-lg: 22px;

  /* Tipografia */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100vh;
}

/* ---------- Sistema de views (SPA simples) ---------- */
.view { display: none; }
.view.is-active { display: block; animation: fade-in .35s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

/* ============================================================
   HERO / HOME — v2 (topbar + cards de unidade)
   ============================================================ */
.hero, .hero--v2 {
  position: relative;
  width: 100%;
  aspect-ratio: 1693 / 929;
  max-height: 100vh;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background-color: #1e3a2a;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Overlay muito sutil — a imagem já tem espaço verde central reservado para o texto */
.hero--v2 .hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 50% 50%, rgba(8,18,12,.22) 0%, rgba(8,18,12,.08) 60%, rgba(8,18,12,0) 100%);
}

/* ---------- Topbar sobreposta ---------- */
.hero-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 28px 0 18px;
}
.hero-top__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: rgba(255,255,255,.96);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.hero-top__logo {
  display: block;
  height: 74px;
  width: auto;
}
.hero-top__nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 38px);
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 700;
  letter-spacing: .015em;
}
.hero-top__nav a {
  color: rgba(255,255,255,.94);
  padding: 8px 4px;
  position: relative;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
  transition: color .2s;
}
.hero-top__nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: 2px;
  width: 0; height: 2px; background: var(--green-400);
  transform: translateX(-50%);
  transition: width .25s ease;
}
.hero-top__nav a:hover { color: var(--green-400); }
.hero-top__nav a:hover::after { width: 70%; }
.hero-top__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: #fff;
  color: var(--green-800);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}
.hero-top__wa svg { color: #25D366; }
.hero-top__wa:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(0,0,0,.24); }
.hero-top__menu-toggle {
  display: none;
  color: #fff;
  padding: 6px;
}

/* ---------- Conteúdo central do hero ---------- */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 110px 24px 12%;
}
.hero__main { display: flex; flex-direction: column; align-items: center; max-width: 700px; }
.hero__eyebrow {
  margin: 0 0 .6em;
  text-transform: uppercase;
  letter-spacing: .42em;
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 700;
  color: var(--green-300);
  text-shadow: 0 2px 12px rgba(0,0,0,.75), 0 0 4px rgba(8,18,12,.5);
}
.hero__title {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(22px, 3.6vw, 44px);
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 3px 24px rgba(0,0,0,.6);
}
.hero__title-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(14px, 1.85vw, 22px);
  margin-top: .55em;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.hero__title-sub em {
  font-style: normal;
  font-weight: 700;
  color: var(--green-400);
}
.hero__lead {
  max-width: 580px;
  margin: clamp(14px, 2.2vh, 22px) auto 0;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

/* ---------- Benefícios (ícones circulares verdes) ---------- */
.hero__benefits {
  list-style: none;
  margin: clamp(20px, 3.5vh, 40px) 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 28px);
  max-width: 620px;
  width: 100%;
}
.hero__benefits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: clamp(10px, .85vw, 11.5px);
  color: rgba(255,255,255,.95);
  line-height: 1.32;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
  flex: 1 1 0;
  max-width: 160px;
}
.benefit__icon {
  display: inline-flex;
  width: clamp(48px, 4.4vw, 60px);
  height: clamp(48px, 4.4vw, 60px);
  border: 2px solid var(--green-400);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--green-400);
  background: rgba(8,18,12,.32);
  backdrop-filter: blur(2px);
  transition: transform .25s, background .25s;
}
.benefit__icon svg { width: 60%; height: 60%; }
.hero__benefits li:hover .benefit__icon { transform: translateY(-2px); background: rgba(139,195,74,.22); }
.benefit__label { text-transform: uppercase; letter-spacing: .04em; font-size: clamp(9.5px, .8vw, 11px); }
.benefit__label strong { display: block; font-weight: 700; font-size: clamp(10.5px, .9vw, 12px); letter-spacing: .06em; margin-bottom: 2px; }

/* ============================================================
   SEÇÃO — ESCOLHA SUA UNIDADE
   ============================================================ */
.units {
  position: relative;
  background: var(--cream-50);
  padding: clamp(40px, 5vh, 60px) 0 clamp(70px, 9vh, 110px);
}
.units__title {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: clamp(14px, 1.6vw, 20px);
  color: var(--green-800);
  margin: 0 0 clamp(34px, 5vh, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.units__leaf { color: var(--green-400); display: inline-flex; }
.units__leaf--flip svg { transform: scaleX(-1); }

.units__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.unit-card {
  position: relative;
  background: linear-gradient(180deg, #1c2b22 0%, #0e1a14 100%);
  border-radius: 20px;
  padding: 0 0 28px;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 48px rgba(20, 40, 28, .22);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(20, 40, 28, .3); }
.unit-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 11;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.unit-card__scene { display: block; width: 100%; height: 100%; object-fit: cover; }
.unit-card__badge {
  align-self: center;
  margin-top: -36px;    /* sobe metade do tamanho para sobrepor a foto */
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-400);
  color: #14281c;
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  border: 4px solid #14281c;
  z-index: 3;
  position: relative;
}
.unit-card__name {
  margin: 14px 0 4px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: clamp(20px, 2vw, 26px);
  color: #fff;
}
.unit-card__state {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--green-300);
  text-transform: uppercase;
}
.unit-card__desc {
  margin: 0 24px 22px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
}
.unit-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
  cursor: pointer;
}
.unit-card__btn--primary {
  background: var(--green-400);
  color: #14281c;
}
.unit-card__btn--primary:hover { transform: translateY(-1px); background: #9bd35a; }
.unit-card__btn--soon {
  background: transparent;
  color: var(--green-300);
  border: 1.5px solid var(--green-400);
}
.unit-card__btn--soon:hover { background: rgba(139,195,74,.12); }

/* ============================================================
   VIEW SP — EM BREVE
   ============================================================ */
.view--soon {
  background:
    radial-gradient(ellipse at top, var(--cream-100) 0%, var(--cream-50) 60%) ,
    var(--cream-50);
  min-height: 100vh;
  padding: 40px 0 80px;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 8px 0 28px;
  font-size: 14px;
  color: var(--green-700);
  font-weight: 500;
  transition: color .2s;
}
.back-btn:hover { color: var(--green-400); }

.soon-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
  position: relative;
  overflow: hidden;
}
.soon-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400), var(--wood-500));
}
.soon-card__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--cream-100);
  color: var(--green-800);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.soon-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 48px);
  margin: 0 0 18px;
  letter-spacing: -.02em;
  color: var(--green-800);
}
.soon-card__title span {
  display: inline-block;
  color: var(--green-400);
  font-style: italic;
}
.soon-card__text {
  margin: 0 auto;
  max-width: 540px;
  color: var(--ink-700);
  font-size: 17px;
}
.soon-card__plant { margin: 28px auto 8px; }
.soon-card__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ============================================================
   BOTÕES gerais
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 58, 43, .25);
}
.btn--primary:hover { background: var(--green-800); box-shadow: 0 10px 24px rgba(30, 58, 43, .35); }
.btn--ghost {
  background: transparent;
  color: var(--green-700);
  border-color: var(--ink-100);
}
.btn--ghost:hover { background: var(--cream-100); }
.btn--whats {
  background: #25D366;
  color: #fff;
  padding: 15px 24px;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .35);
}
.btn--whats:hover { background: #1eb858; }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   CATÁLOGO
   ============================================================ */
.view--catalog { background: var(--cream-50); min-height: 100vh; padding-bottom: 100px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}
.topbar__brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-align: left;
  color: var(--green-800);
}
.topbar__logo {
  display: block;
  height: 42px;
  width: auto;
  border-radius: 4px;
}
.topbar__brand-sub {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
}
.topbar__brand span {
  display: inline-flex; flex-direction: column; line-height: 1.15;
}
.topbar__brand strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.005em;
}

/* Esconde o "chip" antigo da home — o logo já aparece na própria imagem da fachada */
.hero__brand { display: none !important; }
.hero__header { min-height: 0; }
.topbar__brand em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.topbar__nav {
  display: flex; align-items: center; gap: 22px;
  font-size: 14px;
  color: var(--ink-700);
}
.topbar__nav a { transition: color .2s; font-weight: 500; }
.topbar__nav a:hover { color: var(--green-400); }
.topbar__cart {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  transition: background .2s;
}
.topbar__cart:hover { background: var(--green-800); }
.topbar__cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  background: var(--green-400);
  color: var(--green-900);
  font-weight: 700;
  font-size: 11px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* Cabeçalho de catálogo */
.catalog-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  padding: 36px 0 22px;
}
.catalog-head__eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 11px;
  color: var(--green-500);
  font-weight: 700;
}
.catalog-head__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--green-800);
}
.price-warning {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--cream-100);
  border: 1px solid var(--beige-200);
  color: var(--wood-700);
  border-radius: 12px;
  font-size: 13px;
  max-width: 420px;
}
.price-warning svg { color: var(--wood-500); flex-shrink: 0; }

/* Filtros */
.filters {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: center;
  padding: 6px 0 22px;
}
.filters__search {
  position: relative;
  display: flex; align-items: center;
}
.filters__search svg {
  position: absolute; left: 14px;
  color: var(--ink-500);
  pointer-events: none;
}
.filters__search input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--ink-100);
  background: #fff;
  border-radius: 999px;
  padding: 0 18px 0 42px;
  font-size: 14px;
  color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.filters__search input:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 4px rgba(139, 195, 74, .15);
}

.filters__cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 2px;
}
.cat-chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ink-100);
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all .2s;
}
.cat-chip:hover { border-color: var(--green-400); color: var(--green-700); }
.cat-chip.is-active {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}

/* Grid de produtos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.product-card__cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green-700);
  background: var(--cream-100);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.product-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -.005em;
  min-height: 42px;
}
.product-card__code {
  font-size: 11px;
  color: var(--ink-500);
  letter-spacing: .08em;
}
.product-card__price {
  margin-top: auto;
}
.product-card__price-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--ink-500);
}
.product-card__price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--green-800);
  line-height: 1;
  margin-top: 4px;
  display: inline-block;
}
.product-card__price-suffix {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-500);
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.qty-row { display: flex; gap: 8px; align-items: stretch; }
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.qty-stepper button {
  width: 36px; height: 38px;
  font-size: 18px;
  color: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.qty-stepper button:hover { background: var(--cream-100); }
.qty-stepper input {
  width: 44px;
  height: 38px;
  border: 0;
  border-left: 1px solid var(--ink-100);
  border-right: 1px solid var(--ink-100);
  text-align: center;
  font-weight: 600;
  color: var(--ink-900);
  outline: none;
  background: #fff;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.add-btn {
  flex: 1;
  background: var(--green-700);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  transition: background .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.add-btn:hover { background: var(--green-800); }
.add-btn.is-added {
  background: var(--green-400);
  color: var(--green-900);
}

.empty-state {
  text-align: center;
  color: var(--ink-500);
  padding: 60px 20px;
  font-size: 15px;
}

/* ============================================================
   DARK MODE — somente catálogo (view--catalog)
   ============================================================ */
.view--catalog {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(45,74,54,.55) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(31,58,43,.6) 0%, transparent 60%),
    var(--green-900);
  color: rgba(255,255,255,.92);
}
.view--catalog .topbar {
  background: rgba(14, 28, 20, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.view--catalog .topbar__brand { color: #fff; }
.view--catalog .topbar__brand strong { color: #fff; }
.view--catalog .topbar__brand em,
.view--catalog .topbar__brand-sub { color: rgba(255,255,255,.6); }
.view--catalog .topbar__nav { color: rgba(255,255,255,.85); }
.view--catalog .topbar__nav a { color: rgba(255,255,255,.88); }
.view--catalog .topbar__nav a:hover { color: var(--green-300); }
.view--catalog .topbar__cart { background: var(--green-600); }
.view--catalog .topbar__cart:hover { background: var(--green-500); }
.view--catalog .topbar__cart-count { border-color: var(--green-900); }
/* logo no topbar dark fica numa pílula clara discreta */
.view--catalog .topbar__brand .topbar__logo {
  background: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  height: 38px;
  box-sizing: content-box;
}

.view--catalog .catalog-head__eyebrow { color: var(--green-300); }
.view--catalog .catalog-head__title { color: #fff; }
.view--catalog .price-warning {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}
.view--catalog .price-warning svg { color: var(--green-300); }

.view--catalog .filters__search input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.view--catalog .filters__search input::placeholder { color: rgba(255,255,255,.5); }
.view--catalog .filters__search input:focus {
  border-color: var(--green-400);
  background: rgba(255,255,255,.10);
  box-shadow: 0 0 0 4px rgba(139, 195, 74, .18);
}
.view--catalog .filters__search svg { color: rgba(255,255,255,.55); }

.view--catalog .cat-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.88);
}
.view--catalog .cat-chip:hover { border-color: var(--green-400); color: var(--green-300); background: rgba(139,195,74,.08); }
.view--catalog .cat-chip.is-active {
  background: var(--green-400);
  color: var(--green-900);
  border-color: var(--green-400);
}

.view--catalog .product-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
}
.view--catalog .product-card:hover {
  border-color: var(--green-400);
  background: linear-gradient(180deg, rgba(139,195,74,.08) 0%, rgba(255,255,255,.03) 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
.view--catalog .product-card__cat {
  color: var(--green-300);
  background: rgba(139,195,74,.12);
}
.view--catalog .product-card__name { color: #fff; }
.view--catalog .product-card__code { color: rgba(255,255,255,.55); }
.view--catalog .product-card__price-label { color: rgba(255,255,255,.6); }
.view--catalog .product-card__price-value { color: var(--green-300); }
.view--catalog .product-card__price-suffix { color: rgba(255,255,255,.55); }

/* Stepper de quantidade */
.view--catalog .qty-stepper {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
}
.view--catalog .qty-stepper input {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.14);
}
.view--catalog .qty-stepper button { color: var(--green-300); }
.view--catalog .qty-stepper button:hover { background: rgba(139,195,74,.12); }

.view--catalog .add-btn { background: var(--green-400); color: var(--green-900); }
.view--catalog .add-btn:hover { background: #9bd35a; }
.view--catalog .add-btn.is-added { background: var(--green-700); color: #fff; }

.view--catalog .empty-state { color: rgba(255,255,255,.6); }

/* ============================================================
   FLOATING CART (mobile-only)
   ============================================================ */
.float-cart {
  display: none;
  position: fixed;
  right: 18px; bottom: 18px;
  background: var(--green-700);
  color: #fff;
  border-radius: 999px;
  padding: 14px 22px;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  z-index: 40;
  box-shadow: 0 12px 30px rgba(20, 40, 28, .35);
  transition: background .2s;
}
.float-cart:hover { background: var(--green-800); }
.float-cart__count {
  background: var(--green-400);
  color: var(--green-900);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-drawer {
  position: fixed; inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.cart-drawer.is-open { pointer-events: auto; visibility: visible; }
.cart-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 40, 28, .55);
  opacity: 0;
  transition: opacity .25s ease;
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer__panel {
  position: absolute; top: 0; right: 0;
  width: min(440px, 100%);
  height: 100%;
  background: var(--cream-50);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ink-100);
  background: #fff;
}
.cart-drawer__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--green-800);
}
.cart-drawer__close {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--ink-700);
  transition: background .2s;
}
.cart-drawer__close:hover { background: var(--cream-100); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-500);
}
.cart-empty svg {
  margin: 0 auto 14px;
  color: var(--ink-300);
}
.cart-empty p { margin: 0 0 8px; }
.cart-empty span { font-size: 13px; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0;
}
.cart-item__meta {
  font-size: 12px;
  color: var(--ink-500);
  margin: 4px 0 0;
}
.cart-item__remove {
  color: var(--ink-500);
  font-size: 12px;
  align-self: start;
  text-align: right;
  transition: color .2s;
}
.cart-item__remove:hover { color: #b03030; }
.cart-item__row {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
}
.cart-item__qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--ink-100);
  border-radius: 8px;
  background: #fff;
}
.cart-item__qty button {
  width: 30px; height: 32px;
  color: var(--green-700);
  font-size: 15px;
}
.cart-item__qty span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px;
  font-weight: 600;
  font-size: 13px;
  border-left: 1px solid var(--ink-100);
  border-right: 1px solid var(--ink-100);
  height: 32px;
}
.cart-item__subtotal {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-800);
  font-size: 16px;
}

.cart-drawer__foot {
  padding: 18px 22px;
  background: #fff;
  border-top: 1px solid var(--ink-100);
}
.cart-totals {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 6px;
}
.cart-totals__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--ink-500);
}
.cart-totals__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--green-800);
}
.cart-foot-warning {
  font-size: 12px;
  color: var(--wood-700);
  background: var(--cream-100);
  border: 1px solid var(--beige-200);
  padding: 10px 12px;
  border-radius: 10px;
  margin: 8px 0 14px;
  display: flex; align-items: flex-start; gap: 8px;
}

/* ============================================================
   PÁGINAS DE INFO (sobre / contato)
   ============================================================ */
.view--info { background: var(--cream-50); min-height: 100vh; padding-bottom: 80px; }
.topbar--info { background: rgba(255,255,255,.95); }

.info-block { padding: 30px 0 50px; }
.info-block__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 11px;
  color: var(--green-500);
  font-weight: 700;
}
.info-block__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.02em;
  color: var(--green-800);
  margin: 0 0 18px;
}
.info-block__lead {
  font-size: 17px;
  color: var(--ink-700);
  max-width: 720px;
  margin: 0 0 32px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.info-pill {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.info-pill h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--green-700);
}
.info-pill p { margin: 0; font-size: 14px; color: var(--ink-700); line-height: 1.55; }

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 4px;
  color: var(--green-800);
}
.contact-card .contact-card__city {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green-500);
  font-weight: 700;
  margin: 0 0 14px;
}
.contact-card p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-700);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-card strong { color: var(--ink-900); }
.contact-card a {
  color: var(--green-700);
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-card a:hover { text-decoration: underline; }
.contact-card .btn { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-900);
  color: var(--cream-100);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
  padding: 56px 24px 36px;
}
.site-footer__logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.site-footer__logo-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.site-footer__logo-badge img {
  display: block;
  height: 54px;
  width: auto;
}
.site-footer__brand p {
  color: rgba(255,255,255,.92);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  max-width: 460px;
  margin: 0;
  text-wrap: balance;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  min-width: 0;
}
.site-footer__cols > div { min-width: 0; }    /* permite que filhos quebrem texto */
.site-footer__cols h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--green-400);
}
.site-footer__cols p {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  word-break: break-word;        /* quebra e-mail longo */
  overflow-wrap: anywhere;
}
.site-footer__cols a {
  color: #fff;
  transition: color .2s;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.site-footer__cols a:hover { color: var(--green-400); }
.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  /* Hero em tablet/celular: vira cover alto */
  .hero, .hero--v2 { aspect-ratio: auto; height: auto; min-height: 0; }
  .hero--v2 { min-height: 100vh; }
  .hero__bg { background-position: 55% center; }
  .hero--v2 .hero__overlay {
    background:
      radial-gradient(ellipse 100% 70% at 50% 50%, rgba(8,18,12,.65) 0%, rgba(8,18,12,.45) 60%, rgba(8,18,12,.25) 100%),
      linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.2) 30%, rgba(0,0,0,.4) 100%);
  }

  /* Topbar mobile: logo menor + menu vira hambúrguer + WhatsApp como ícone */
  .hero-top { padding: 14px 14px 0; gap: 12px; }
  .hero-top__brand {
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 190px;
  }
  .hero-top__logo { height: 48px; max-width: 100%; }
  .hero-top__nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(20,30,24,.96);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .hero-top__nav.is-open { display: flex; }
  .hero-top__nav a { padding: 14px 24px; text-align: center; }
  .hero-top__nav a::after { display: none; }
  .hero-top__wa span { display: none; }   /* só ícone em mobile */
  .hero-top__wa { padding: 10px; border-radius: 50%; width: 40px; height: 40px; justify-content: center; }
  .hero-top__menu-toggle { display: inline-flex; }

  .hero__content { padding: 90px 18px 50px; }
  .hero__benefits { max-width: 380px; gap: 22px 18px; }
  .hero__benefits li { flex: 0 0 calc(50% - 12px); width: calc(50% - 12px); max-width: none; }

  /* Cards de unidade empilham */
  .units__grid { grid-template-columns: 1fr; }
  .units { padding: 50px 0 70px; }
  .units::before { height: 40px; }

  .catalog-head { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 18px; }
  .price-warning { max-width: none; }
  .filters { grid-template-columns: 1fr; gap: 12px; }
  .filters__cats { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-card { padding: 16px; gap: 10px; }
  .product-card__name { font-size: 15px; min-height: 38px; }
  .product-card__price-value { font-size: 22px; }

  .topbar__nav { gap: 12px; }
  .topbar__nav a { display: none; }
  .topbar__logo { height: 34px; }
  .topbar__brand-sub { display: none; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 24px 28px; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 22px; }

  .float-cart { display: inline-flex; }

  .soon-card { padding: 36px 22px; }
}

@media (max-width: 560px) {
  .hero__benefits { max-width: 320px; gap: 18px 14px; }
  .hero__benefits li { flex: 0 0 calc(50% - 8px); width: calc(50% - 8px); }
  .benefit__icon { width: 50px; height: 50px; }
  .brand-text__bottom { font-size: 20px; }
  .brand-text__top { font-size: 15px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card__name { font-size: 14px; }
  .qty-row { flex-direction: column; }
  .add-btn { padding: 10px 12px; }
  .cart-drawer__panel { width: 100%; }
  .unit-card__name { margin-top: 44px; }
}

@media (max-width: 380px) {
  .hero__benefits { max-width: 240px; }
  .hero__benefits li { flex: 0 0 100%; width: 100%; }
}

/* ============================================================
   UTIL
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   AJUSTES FINAIS — HOME, CONTATO E CATÁLOGO ORGANIZADO
   ============================================================ */

/* Logo do topo encaixado dentro da curva branca da arte hero */
.hero-top {
  padding: 6px 34px 0 0;
}
.hero-top__brand {
  display: block;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 12px 0 0 24px;
  width: min(230px, 26vw);
}
.hero-top__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}
@media (max-width: 900px) {
  .hero-top { padding: 8px 14px 0 0; }
  .hero-top__brand {
    width: min(150px, 40vw);
    padding: 10px 0 0 14px;
    background: transparent;
    box-shadow: none;
  }
  .hero-top__logo { width: 100%; height: auto; max-width: 100%; }
}

/* Rodapé: logo maior, slogan em tamanho normal */
.site-footer__logo-badge img {
  height: 70px;
}
.site-footer__brand p {
  color: rgba(255,255,255,.76);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  max-width: 360px;
}

/* Página de contato em dark mode */
#view-contato {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(45,74,54,.55) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(31,58,43,.6) 0%, transparent 60%),
    var(--green-900);
  color: rgba(255,255,255,.92);
}
#view-contato .topbar--info {
  background: rgba(14, 28, 20, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#view-contato .topbar__brand,
#view-contato .topbar__nav,
#view-contato .topbar__nav a {
  color: rgba(255,255,255,.92);
}
#view-contato .topbar__logo {
  background: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  height: 38px;
  box-sizing: content-box;
}
#view-contato .back-btn { color: var(--green-300); }
#view-contato .back-btn:hover { color: #fff; }
#view-contato .info-block__eyebrow { color: var(--green-300); }
#view-contato .info-block__title { color: #fff; }
#view-contato .info-block__lead { color: rgba(255,255,255,.74); }
#view-contato .contact-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
#view-contato .contact-card h3 { color: #fff; }
#view-contato .contact-card .contact-card__city { color: var(--green-300); }
#view-contato .contact-card p,
#view-contato .contact-card strong,
#view-contato .contact-card a { color: rgba(255,255,255,.84); }
#view-contato .contact-card a:hover { color: #fff; }
#view-contato .btn--whats { box-shadow: 0 10px 24px rgba(37,211,102,.28); }

/* Catálogo agrupado por categoria */
#product-grid.product-groups-host {
  display: block;
}
.catalog-group {
  margin-top: 26px;
}
.catalog-group:first-child {
  margin-top: 0;
}
.catalog-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.catalog-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  color: #fff;
}
.catalog-group__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .04em;
  font-weight: 700;
  background: rgba(139,195,74,.14);
  color: var(--green-300);
  border: 1px solid rgba(139,195,74,.18);
}
.catalog-group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.product-card__availability {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.68);
}
.view--catalog .product-card__availability { color: rgba(255,255,255,.68); }
@media (max-width: 900px) {
  .catalog-group__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .catalog-group__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .catalog-group__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   HOME EXATA APROVADA (mockup com hotspots)
   ============================================================ */
.view--home {
  background: #f5f1e8;
}
.home-approved {
  padding: 0;
}
.home-approved__frame {
  position: relative;
  max-width: 1536px;
  margin: 0 auto;
  line-height: 0;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.home-approved__image {
  display: block;
  width: 100%;
  height: auto;
}
.home-approved__hotspot {
  position: absolute;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.home-approved__hotspot:focus-visible {
  outline: 3px solid rgba(139,195,74,.9);
  outline-offset: 2px;
  border-radius: 12px;
}
/* top menu / brand */
.hs-logo { left: 0.5%; top: 0.2%; width: 23%; height: 15%; }
.hs-quem { left: 36.2%; top: 3.1%; width: 11.5%; height: 7.5%; }
.hs-unidades { left: 48.2%; top: 3.1%; width: 14.3%; height: 7.5%; }
.hs-produtos { left: 61.8%; top: 3.1%; width: 9.5%; height: 7.5%; }
.hs-atendimento { left: 72.0%; top: 3.1%; width: 12%; height: 7.5%; }
.hs-wa { left: 83.6%; top: 2.5%; width: 13.8%; height: 7.8%; }
/* unit cards */
.hs-sp { left: 17.5%; top: 61.2%; width: 31.2%; height: 31.8%; }
.hs-ce { left: 51.0%; top: 61.2%; width: 33.2%; height: 31.8%; }

@media (max-width: 900px) {
  .home-approved__frame {
    box-shadow: none;
  }
  .hs-quem, .hs-unidades, .hs-produtos, .hs-atendimento, .hs-wa {
    top: 0;
    height: 14%;
  }
  .hs-logo { width: 35%; height: 18%; }
  .hs-sp { left: 12%; top: 60.5%; width: 37%; height: 31%; }
  .hs-ce { left: 50.5%; top: 60.5%; width: 37%; height: 31%; }
}
