/* ── Tokens ──────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --border: rgba(0,0,0,.08);
  --border-m: rgba(0,0,0,.15);
  --text: #111111;
  --muted: #666666;
  --faint: #999999;
  --black: #000000;
  --white: #ffffff;
  --red: #d00000;

  --font: 'Inter', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --header-h: 56px;
  --topbar-h: 34px;
  --fb-h: 32px;

  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-m: 0 4px 24px rgba(0,0,0,.14);
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: var(--font); }
input, select { font-family: var(--font); }
ul, ol { list-style: none; }

/* ── Utilities ───────────────────────────────────── */
.wrap { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sh2 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.section-sub { font-size: .95rem; color: var(--muted); line-height: 1.7; max-width: 500px; }
.sh-c { text-align: center; margin-bottom: 48px; }
.sh-c .section-sub { margin: 0 auto; max-width: 560px; }
.surface-gray { background: var(--surface); }

/* ── Buttons ─────────────────────────────────────── */
.btn-black {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white);
  font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-black:hover { background: #222; }
.btn-outline-black {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--black);
  font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 28px;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-outline-black:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .8rem; }

/* ── FRAMEUP bar ─────────────────────────────────── */
#fb {
  height: var(--fb-h);
  background: #0f0f0f;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: .7rem; color: rgba(255,255,255,.7);
}
#fb strong { color: #fff; }
#fb a { color: #60a5fa; text-decoration: underline; }

/* ── Top bar ─────────────────────────────────────── */
.top-bar {
  height: var(--topbar-h);
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
}
.top-bar p { font-size: .72rem; color: rgba(255,255,255,.8); letter-spacing: .04em; text-align: center; }
.top-bar a { color: rgba(255,255,255,.9); text-decoration: underline; }

/* ── Header ──────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hd-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 16px;
}
.logo { display: flex; align-items: center; }
.logo-serif {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--black);
  line-height: 1;
}
.hd-icons { display: flex; align-items: center; gap: 4px; }
.hd-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  border-radius: 50%;
  transition: background .15s;
  position: relative;
}
.hd-icon:hover { background: var(--surface); }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 17px; height: 17px;
  background: var(--black); color: var(--white);
  font-size: .6rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* ── Hamburger ───────────────────────────────────── */
.ham { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.ham span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: transform .25s, opacity .2s; }
.ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Search bar ──────────────────────────────────── */
.search-bar {
  height: 0; overflow: hidden;
  transition: height .3s ease;
  border-top: 1px solid transparent;
}
.search-bar.open { height: 56px; border-top-color: var(--border); }
.search-inner {
  height: 56px;
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 12px;
}
.search-inner input {
  flex: 1;
  border: none; outline: none;
  font-size: .95rem; color: var(--text);
  background: transparent;
}
.search-inner input::placeholder { color: var(--faint); }
.search-inner button { color: var(--muted); font-size: 1.1rem; padding: 4px 8px; }
.search-inner button:hover { color: var(--text); }

/* ── Mega menu ───────────────────────────────────── */
.mega-nav {
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mega-list {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: stretch;
}
.mega-item { position: relative; }
.mega-link {
  display: block;
  padding: 0 18px;
  height: 44px; line-height: 44px;
  font-size: .77rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
}
.mega-item:hover .mega-link { border-bottom-color: var(--black); }
.outlet-link { color: var(--red); }

/* Dropdowns */
.mega-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--black);
  box-shadow: var(--shadow-m);
  z-index: 300;
  animation: dropIn .15s ease;
}
.mega-item:hover .mega-drop { display: flex; }
@keyframes dropIn { from { opacity:0; transform: translateX(-50%) translateY(-4px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

.mega-simple {
  flex-direction: column;
  min-width: 200px;
  padding: 16px 0;
}
.mega-simple a {
  display: block;
  padding: 9px 24px;
  font-size: .83rem;
  color: var(--text);
  transition: background .1s;
}
.mega-simple a:hover { background: var(--surface); }

.mega-columns {
  flex-direction: row;
  padding: 28px 24px;
  gap: 40px;
  min-width: 560px;
}
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col-title {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.mega-col a {
  font-size: .82rem;
  color: var(--muted);
  padding: 5px 0;
  transition: color .1s;
}
.mega-col a:hover { color: var(--black); }

/* ── Mobile menu ─────────────────────────────────── */
.mob-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 400;
}
.mob-menu {
  position: fixed;
  top: 0; left: 0;
  width: 300px; max-width: 90vw;
  height: 100vh;
  background: var(--white);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mob-menu.open { transform: translateX(0); }
.mob-overlay.open { display: block; }
.mob-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mob-close { font-size: 1.2rem; padding: 4px 8px; color: var(--muted); }
.mob-body { flex: 1; padding: 8px 0; }
.mob-item { border-bottom: 1px solid var(--border); }
.mob-cat, .mob-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: .85rem; font-weight: 500;
  color: var(--text);
  text-align: left;
}
.mob-cat svg { transition: transform .25s; }
.mob-cat.active svg { transform: rotate(180deg); }
.mob-sub {
  display: none;
  flex-direction: column;
  background: var(--surface);
  padding: 6px 0;
}
.mob-sub.open { display: flex; }
.mob-sub a {
  padding: 10px 28px;
  font-size: .83rem;
  color: var(--muted);
}
.mob-sub a:hover { color: var(--black); }
.mob-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.mob-wpp {
  background: #25d366; color: white;
  text-align: center;
  padding: 12px;
  font-size: .85rem; font-weight: 600;
  border-radius: 4px;
}
.mob-footer a:last-child { font-size: .8rem; color: var(--muted); text-align: center; }

/* ── Breadcrumb ──────────────────────────────────── */
.breadcrumb {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.breadcrumb nav { padding: 12px 0; font-size: .78rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--black); }
.bc-sep { margin: 0 8px; }
.bc-current { color: var(--text); }

/* ── Category header ─────────────────────────────── */
.cat-header { padding: 48px 0 0; }
.cat-title { font-size: 2rem; font-weight: 700; margin-bottom: 14px; line-height: 1.2; }
.cat-desc { font-size: .92rem; color: var(--muted); line-height: 1.75; max-width: 680px; }

/* ── Filters bar ─────────────────────────────────── */
.filters-bar {
  padding: 24px 0 0;
  position: sticky;
  top: calc(var(--header-h) + 44px);
  z-index: 100;
  background: var(--white);
}
.filters-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.filters-left { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.filters-right { display: flex; align-items: center; gap: 12px; }

.filter-tag {
  padding: 7px 16px;
  border: 1px solid var(--border-m);
  font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all .15s;
  background: transparent;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.filter-size-toggle {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 14px;
  border: 1px solid var(--border-m);
  font-size: .78rem; font-weight: 500;
  color: var(--muted);
  transition: all .15s;
}
.filter-size-toggle:hover { border-color: var(--black); color: var(--black); }
.filter-sort {
  padding: 7px 12px;
  border: 1px solid var(--border-m);
  font-size: .78rem; color: var(--text);
  background: transparent;
  outline: none; cursor: pointer;
}
.filter-sort:hover { border-color: var(--black); }

.size-filter {
  display: none;
  align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.size-filter.open { display: flex; }
.size-filter-label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.size-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.sz {
  width: 44px; height: 36px;
  border: 1px solid var(--border-m);
  font-size: .78rem; font-weight: 600;
  color: var(--muted);
  transition: all .15s;
}
.sz:hover, .sz.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ── Product grid (PLP) ──────────────────────────── */
.plp-section { padding: 32px 0 80px; }
.prod-count { font-size: .78rem; color: var(--faint); margin-bottom: 24px; }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* ── Product card ────────────────────────────────── */
.pc { background: var(--white); }
.pc-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.pc-img img.pc-img-hover {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .3s ease, transform .6s ease;
}
.pc:hover .pc-img img.pc-img-main { transform: scale(1.03); opacity: 0; }
.pc:hover .pc-img img.pc-img-hover { opacity: 1; transform: scale(1.03); }
.pc-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--faint);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.pc-img-placeholder svg { opacity: .25; }
.pc-img:hover .pc-img-placeholder { background: #ececec; }

.pc-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--black); color: var(--white);
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 2;
  pointer-events: none;
}
.pc-badge.outlet { background: var(--red); }
.pc-badge.sale { background: var(--red); }

.pc-heart {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  color: var(--text);
  z-index: 2;
  opacity: 0;
  transition: opacity .2s;
}
.pc:hover .pc-heart { opacity: 1; }
.pc-heart:hover { background: var(--white); }
.pc-heart.active { color: var(--red); }

.pc-quick {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: var(--white);
  display: flex; justify-content: center;
  transform: translateY(100%);
  transition: transform .25s ease;
  z-index: 2;
}
.pc:hover .pc-quick { transform: translateY(0); }
.pc-quick button {
  width: 100%;
  background: var(--black); color: var(--white);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 11px;
  transition: background .15s;
}
.pc-quick button:hover { background: #222; }

.pc-info { padding: 12px 16px 20px; }
.pc-category { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.pc-name { font-size: .88rem; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.pc-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; }
.pc-price { font-size: 1rem; font-weight: 700; }
.pc-price-from { font-size: .82rem; color: var(--faint); text-decoration: line-through; }
.pc-install { font-size: .74rem; color: var(--muted); }

/* ── SEO text ────────────────────────────────────── */
.cat-seo { padding: 40px 0; background: var(--surface); border-top: 1px solid var(--border); }
.cat-seo p { font-size: .85rem; color: var(--muted); line-height: 1.8; max-width: 900px; }

/* ── Guia de tamanhos ────────────────────────────── */
.guia-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.guia-table-wrap { overflow-x: auto; }
.guia-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.guia-table thead { background: var(--black); color: var(--white); }
.guia-table th { padding: 10px 14px; font-weight: 600; letter-spacing: .06em; text-align: left; font-size: .75rem; }
.guia-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.guia-table tr:hover td { background: var(--surface); }

/* ── Depoimentos ─────────────────────────────────── */
.dep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dep-card { background: var(--white); padding: 28px; border: 1px solid var(--border); }
.dep-stars { font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.dep-text { font-size: .88rem; line-height: 1.7; color: var(--text); margin-bottom: 16px; font-style: italic; }
.dep-author { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.dep-location { font-size: .74rem; color: var(--faint); }

/* ── FAQ ─────────────────────────────────────────── */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: .9rem; font-weight: 500;
  text-align: left; color: var(--text);
  gap: 16px;
}
.faq-q svg { flex-shrink: 0; transition: transform .25s; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 18px; font-size: .88rem; color: var(--muted); line-height: 1.7; }
.faq-a.open { display: block; }

/* ── CTA ─────────────────────────────────────────── */
.cta-sec {
  background: var(--black);
  padding: 80px 24px;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-h2 { font-size: 2.2rem; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.cta-sub { font-size: .95rem; color: rgba(255,255,255,.7); margin-bottom: 32px; line-height: 1.6; }
.cta-acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 20px; }
.cta-acts .btn-black { background: var(--white); color: var(--black); border-color: var(--white); }
.cta-acts .btn-black:hover { background: rgba(255,255,255,.9); }
.cta-acts .btn-outline-black { border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.9); }
.cta-acts .btn-outline-black:hover { background: rgba(255,255,255,.1); }
.cta-micro { font-size: .74rem; color: rgba(255,255,255,.45); letter-spacing: .08em; }

/* ── Footer ──────────────────────────────────────── */
footer { border-top: 1px solid var(--border); }
.foot-top { padding: 56px 0; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; align-items: start; }
.foot-col { display: flex; flex-direction: column; }
.foot-col-title { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--black); margin-bottom: 16px; }
.foot-col a { font-size: .83rem; color: var(--muted); margin-bottom: 8px; transition: color .15s; }
.foot-col a:hover { color: var(--black); }
.foot-desc { font-size: .83rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }
.foot-social { display: flex; gap: 14px; }
.foot-social a { color: var(--muted); transition: color .15s; margin: 0; }
.foot-social a:hover { color: var(--black); }
.foot-payment p { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.payment-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-flags span {
  padding: 4px 8px;
  border: 1px solid var(--border-m);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
}
.foot-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.foot-bottom .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-bottom p { font-size: .77rem; color: var(--faint); }
.foot-bottom a { color: var(--muted); text-decoration: underline; }
.foot-bottom a:hover { color: var(--black); }

/* ── Login drawer ────────────────────────────────── */
.login-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 600;
}
.login-overlay.open { display: flex; }
.login-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 380px; max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 700;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,.1);
}
.login-drawer.open { transform: translateX(0); }
.login-body { padding: 24px; overflow-y: auto; flex: 1; }
.login-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.ltab {
  flex: 1;
  padding: 12px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
.ltab.active { color: var(--black); border-bottom-color: var(--black); }
.login-form { display: none; flex-direction: column; gap: 6px; }
.login-form.active { display: flex; }
.lbl { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.linput {
  border: 1px solid var(--border-m);
  padding: 12px 14px;
  font-size: .88rem;
  width: 100%;
  outline: none;
  transition: border .15s;
}
.linput:focus { border-color: var(--black); }
.forgot-link { font-size: .75rem; color: var(--muted); text-decoration: underline; text-align: right; margin-top: 4px; }
.login-disc { font-size: .7rem; color: var(--faint); text-align: center; margin-top: 24px; }

/* ── Modal qty selector ──────────────────────────── */
.modal-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid var(--border-m);
  width: fit-content;
}
.modal-qty-btn {
  width: 40px; height: 40px;
  font-size: 1.1rem;
  color: var(--black);
  transition: background .15s;
}
.modal-qty-btn:hover { background: var(--surface); }
.modal-qty-val {
  min-width: 44px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 40px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Cart drawer ─────────────────────────────────── */
.cart-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 600;
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px; max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 700;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,.1);
}
.cart-drawer.open, .cart-overlay.open { display: flex; }
.cart-drawer.open { transform: translateX(0); }

.cd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cd-header h3 { font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cd-close { font-size: 1.1rem; color: var(--muted); padding: 4px 8px; }

.cd-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cd-empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 24px; }

.cd-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cd-item-img { width: 72px; height: 96px; object-fit: cover; flex-shrink: 0; background: var(--surface); }
.cd-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cd-item-name { font-size: .85rem; font-weight: 500; }
.cd-item-var { font-size: .75rem; color: var(--faint); }
.cd-item-price { font-size: .88rem; font-weight: 700; margin-top: auto; }
.cd-item-actions { display: flex; align-items: center; gap: 8px; }
.cdi-qty { display: flex; align-items: center; gap: 6px; }
.cdi-qty button { width: 28px; height: 28px; border: 1px solid var(--border-m); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: all .15s; }
.cdi-qty button:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.cdi-qty span { font-size: .85rem; min-width: 20px; text-align: center; }
.cdi-remove { font-size: .75rem; color: var(--faint); text-decoration: underline; cursor: pointer; }
.cdi-remove:hover { color: var(--red); }

.cd-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cd-frete { margin-bottom: 20px; }
.cd-frete-label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.cd-frete-row { display: flex; gap: 8px; }
.cep-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-m);
  font-size: .85rem; outline: none;
}
.cep-input:focus { border-color: var(--black); }
.frete-options { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.frete-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-m);
  cursor: pointer;
  transition: border-color .15s;
}
.frete-opt:hover, .frete-opt.selected { border-color: var(--black); }
.frete-opt input { accent-color: var(--black); }
.frete-opt-info { flex: 1; }
.frete-opt-name { font-size: .82rem; font-weight: 500; }
.frete-opt-eta { font-size: .74rem; color: var(--faint); }
.frete-opt-price { font-size: .85rem; font-weight: 700; }

.cd-totais { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.cd-linha { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.cd-linha.total { font-size: 1rem; font-weight: 700; color: var(--text); padding-top: 10px; border-top: 1px solid var(--border); margin-top: 2px; }
.cd-parcel { font-size: .75rem; color: var(--muted); text-align: right; margin-bottom: 14px; }
.cd-micro { text-align: center; font-size: .72rem; color: var(--faint); margin-top: 12px; }

/* ── Modal de produto ────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 800;
}
.prod-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 96vw);
  max-height: 90vh;
  background: var(--white);
  z-index: 900;
  overflow-y: auto;
}
.prod-modal.open, .modal-overlay.open { display: block; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 1rem; color: var(--muted);
  z-index: 2;
}
.modal-close:hover { background: var(--surface); }
.modal-inner { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 500px; }
.modal-imgs {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}
.modal-imgs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 40px 36px; overflow-y: auto; }
.modal-cat { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.modal-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; line-height: 1.2; }
.modal-price { font-size: 1.5rem; font-weight: 700; margin: 12px 0 4px; }
.modal-install { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.modal-section-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.modal-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.modal-sz {
  padding: 8px 16px;
  border: 1px solid var(--border-m);
  font-size: .8rem; font-weight: 500;
  cursor: pointer; transition: all .15s;
}
.modal-sz:hover, .modal-sz.sel { background: var(--black); color: var(--white); border-color: var(--black); }
.modal-sz.out { color: var(--faint); cursor: not-allowed; background: var(--surface); text-decoration: line-through; }
.modal-btn-add {
  width: 100%;
  background: var(--black); color: var(--white);
  padding: 16px;
  font-size: .88rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
  transition: background .15s;
}
.modal-btn-add:hover { background: #222; }
.modal-btn-wpp {
  width: 100%;
  background: #25d366; color: white;
  padding: 14px;
  font-size: .83rem; font-weight: 600;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.modal-desc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); line-height: 1.7; }
.modal-trust { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.modal-trust-item { font-size: .74rem; color: var(--faint); display: flex; align-items: center; gap: 4px; }

/* ── Belle assistente ────────────────────────────── */
.belle-widget { position: fixed; bottom: 24px; left: 24px; z-index: 600; }
.belle-panel {
  display: none;
  flex-direction: column;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-m);
  margin-bottom: 12px;
  max-height: 400px;
}
.belle-panel.open { display: flex; }
.belle-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--black);
  color: var(--white);
}
.belle-avatar { width: 32px; height: 32px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.belle-name { font-size: .82rem; font-weight: 600; }
.belle-status { font-size: .68rem; color: #4ade80; }
.belle-close { margin-left: auto; color: rgba(255,255,255,.6); font-size: 1rem; }
.belle-messages { flex: 1; overflow-y: auto; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 10px; }
.belle-msg { max-width: 86%; padding: 10px 13px; font-size: .82rem; line-height: 1.5; }
.belle-msg.bot { background: var(--surface); color: var(--text); align-self: flex-start; }
.belle-msg.user { background: var(--black); color: var(--white); align-self: flex-end; }
.belle-quick { padding: 10px 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.belle-quick button { text-align: left; padding: 8px 12px; font-size: .78rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); transition: background .15s; }
.belle-quick button:hover { background: var(--border); }
.belle-toggle {
  width: 52px; height: 52px;
  background: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  position: relative;
  transition: transform .2s;
}
.belle-toggle:hover { transform: scale(1.05); }
.belle-badge {
  position: absolute; top: 0; right: 0;
  width: 18px; height: 18px;
  background: var(--red); color: white;
  font-size: .62rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── WhatsApp float ──────────────────────────────── */
#wpp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 600;
}
.wpp-ring {
  position: absolute;
  width: 56px; height: 56px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: ring 2.5s infinite;
}
@keyframes ring { 0%,100%{transform:scale(1);opacity:.6} 50%{transform:scale(1.45);opacity:0} }

/* ── Toast ───────────────────────────────────────── */
.toast {
  display: none;
  position: fixed;
  bottom: 90px; right: 24px;
  background: var(--black); color: var(--white);
  padding: 13px 20px;
  font-size: .83rem;
  z-index: 1000;
  box-shadow: var(--shadow-m);
  animation: fadeUp .3s ease;
  max-width: 300px;
}
.toast.show { display: block; }
@keyframes fadeUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ── Scroll reveal ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive 1024px ───────────────────────────── */
@media(max-width:1024px) {
  .ham { display: flex; }
  .mega-nav { display: none; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .dep-grid { grid-template-columns: repeat(2, 1fr); }
  .guia-layout, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Responsive 768px ────────────────────────────── */
@media(max-width:768px) {
  .cat-title { font-size: 1.4rem; }
  .sh2 { font-size: 1.4rem; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .dep-grid { grid-template-columns: 1fr; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-imgs { max-height: 300px; }
  .cta-h2 { font-size: 1.6rem; }
  .top-bar p { font-size: .66rem; }
  .filters-right { flex-wrap: wrap; }
  .belle-widget { bottom: 90px; }
}

/* ── Responsive 480px ────────────────────────────── */
@media(max-width:480px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .foot-cols { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .cta-sec { padding: 60px 16px; }
  .hd-inner { padding: 0 16px; }
}

/* ── Demo disclaimer ─────────────────────────────── */
.demo-disclaimer {
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  text-align: center;
}
.demo-disclaimer p {
  font-size: .72rem;
  color: var(--faint);
  line-height: 1.65;
  max-width: 900px;
  margin: 0 auto;
}
.demo-disclaimer strong {
  color: var(--muted);
  font-weight: 600;
}

/* ── Touch & accessibility ─────────────────────────── */
button, a { touch-action: manipulation; }
.ham { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

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