:root {
  --bg: #f4f1ea;
  --surface: #fffdf9;
  --tint: #e8e3d7;
  --ink: #16140f;
  --muted: #6c675e;
  --line: #dad4c6;
  --accent: #a8481f;
  --dark: #16140f;
  --on-dark: #f4f1ea;
  --on-dark-muted: #a9a396;
  --wa: #0e7a45;
  --wa-hover: #0a6237;
  --radius: 6px;
  --wrap: 1180px;
  --gutter: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.icon { display: inline-flex; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.boot { padding: 30vh 20px; text-align: center; color: var(--muted); }
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Botões ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: #33302a; border-color: #33302a; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ─── Cabeçalho ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo {
  margin-right: auto;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
.menu-toggle { display: none; padding: 8px; margin-right: -8px; border: 0; background: none; }

/* ─── Capa ─── */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 22px; font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -0.045em; line-height: 0.98; }
.hero-text { max-width: 30em; font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #fff; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-mark {
  display: grid;
  place-items: center;
  height: 100%;
  background: var(--dark);
  color: var(--on-dark);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

/* ─── Seções ─── */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { margin-top: 10px; max-width: 36em; color: var(--muted); }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; text-underline-offset: 4px; }

/* ─── Produtos ─── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 20px; }
.card { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.no-photo { display: grid; place-items: center; height: 100%; color: #a9a294; font-size: 13px; }
.card-body { padding-top: 14px; }
.card-cat { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.35; text-transform: uppercase; color: var(--muted); }
.card-title { margin-top: 4px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.dots { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(22, 20, 15, 0.22); }

.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.line-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  padding: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
}
.line-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.line-card:hover img { transform: scale(1.04); }
.line-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 55%); }
.line-card div { position: relative; z-index: 1; }
.line-card h3 { font-size: 24px; }
.line-card span { font-size: 13px; opacity: 0.85; }

/* ─── Catálogo ─── */
.page-head { padding: 48px 0 28px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head p { margin-top: 10px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; }
.chip {
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.search { position: relative; flex: 1 1 220px; max-width: 320px; margin-left: auto; }
.search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 40px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--ink); }
.empty { padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty h3 { margin-bottom: 8px; font-size: 20px; color: var(--ink); }
.empty .btn { margin-top: 20px; }

/* ─── Produto ─── */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 28px 0 20px; font-size: 14px; color: var(--muted); }
.crumbs a { text-underline-offset: 3px; }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; padding-bottom: 72px; }
.gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: #fff; opacity: 0.7; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb[aria-current="true"] { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.product-info { position: sticky; top: 92px; align-self: start; }
.product-info h1 { margin: 10px 0 18px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.prose p + p { margin-top: 0.8em; }
.prose { color: #3c3932; white-space: pre-line; }
.specs { margin: 26px 0 0; border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.spec dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.buy { margin-top: 28px; }
.buy small { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.product-video { margin-top: 28px; max-width: 520px; }

/* ─── Vídeos e Instagram ─── */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px 20px; align-items: start; }
.video-item figcaption { margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.video { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-vertical { aspect-ratio: 9 / 16; max-height: 560px; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; transition: opacity 0.2s; }
.video:hover img { opacity: 1; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
}
.insta { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.insta iframe { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* ─── Como comprar / Sobre ─── */
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; counter-reset: info; }
.info { padding: 22px 0; border-top: 1px solid var(--ink); counter-increment: info; }
.info h3 { display: flex; gap: 12px; margin-bottom: 10px; font-size: 19px; letter-spacing: -0.01em; }
.info h3::before { content: counter(info, decimal-leading-zero); color: var(--accent); font-variant-numeric: tabular-nums; }
.info p { color: var(--muted); font-size: 15px; white-space: pre-line; }
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about-single { grid-template-columns: 1fr; max-width: 760px; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about h2 { margin: 12px 0 20px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.about .prose { font-size: 18px; }

/* ─── Contato e rodapé ─── */
.contact { background: var(--dark); color: var(--on-dark); padding: 80px 0 40px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
.contact h2 { margin: 14px 0 18px; font-size: clamp(2rem, 5vw, 3.4rem); }
.contact .eyebrow { color: #d98a5f; }
.contact-lead { max-width: 28em; margin-bottom: 30px; font-size: 18px; color: var(--on-dark-muted); }
.contact-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { margin-top: 2px; color: #d98a5f; }
.contact-list a { text-underline-offset: 4px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #3b382f; border-radius: 50%; }
.socials a:hover { background: var(--on-dark); color: var(--dark); }
.footer { margin-top: 64px; padding-top: 22px; border-top: 1px solid #33302a; font-size: 13px; color: var(--on-dark-muted); }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 122, 69, 0.35);
}
.wa-float:hover { background: var(--wa-hover); }

/* ─── Ampliar foto ─── */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(12, 11, 8, 0.94); }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; border-bottom: 1.5px solid var(--wa); color: #fff; }
  .hero { padding: 32px 0 48px; }
  .hero-grid, .about, .contact-grid, .product { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { aspect-ratio: 1; }
  .section { padding: 52px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .product-info { position: static; }
  .search { max-width: none; margin-left: 0; flex-basis: 100%; }
  .contact { padding-top: 56px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .card-title { font-size: 15px; }
  .card-cat { font-size: 11px; letter-spacing: 0.06em; }
  .hero-actions .btn, .buy .btn { width: 100%; }
  .insta { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
