/* =====================================================================
   DBN Pneus & Equipamentos - site público
   Mobile-first. Cores da marca: preto, branco e vermelho.
   ===================================================================== */

:root {
  --black: #000000;
  --ink: #0a0a0a;
  --ink-2: #16181b;
  --ink-3: #24272c;
  --red: #e30613;
  --red-hover: #c40510;
  --red-text: #b0050f;
  --white: #ffffff;
  --gray-bg: #f4f5f7;
  --gray-line: #e3e6ea;
  --gray-mid: #8a939e;
  --gray-text: #4a5562;
  --text: #121417;
  --wa: #1e9e52;
  --wa-hover: #188644;

  --font-title: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 10, 10, .06), 0 6px 20px rgba(10, 10, 10, .07);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .18);
  --header-h: 64px;
  --gutter: 16px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.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; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.text-center { text-align: center; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-inline { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.icon-lg { width: 30px; height: 30px; }
.icon-xl { width: 44px; height: 44px; }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 13px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 38px; min-width: 38px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f0; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--gray-text); padding-left: 12px; padding-right: 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--gray-bg); }
.btn-danger-text:hover { color: var(--red-text); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: inherit; position: relative;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn .icon { width: 24px; height: 24px; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3;
}
.badge-offer { background: var(--red); color: #fff; }
.badge-lg { font-size: 13px; padding: 6px 14px; }

.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-text); margin-bottom: 8px; }
.eyebrow-red { color: var(--red-text); }
.eyebrow-light { color: rgba(255,255,255,.75); }
.red-stroke {
  display: block; width: 88px; height: 4px; margin: 14px 0 18px;
  background: linear-gradient(90deg, var(--red) 70%, transparent);
  border-radius: 2px; transform: skewX(-25deg); transform-origin: left;
}

/* ---------------- Topo ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--black); color: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; gap: 6px; height: var(--header-h); }
.brand { display: flex; align-items: center; margin-right: auto; background: var(--black); }
.brand img { height: 46px; width: auto; }
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 59;
  background: var(--black); border-top: 1px solid rgba(255,255,255,.1);
  padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li a { display: block; padding: 14px 4px; font-family: var(--font-title); font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color: var(--red); }
.nav-instagram { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; text-decoration: none; color: rgba(255,255,255,.8); }
.header-search {
  display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
  padding: 10px var(--gutter); background: var(--ink-2);
}
.header-search.is-open { display: flex; }
.header-search input {
  flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 0; border-radius: 999px 0 0 999px;
  background: #fff; color: var(--text); font-size: 16px;
}
.header-search button { width: 52px; border: 0; border-radius: 0 999px 999px 0; background: var(--red); color: #fff; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.list-btn .list-count {
  position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.list-btn.bump .list-count { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.list-btn-label { display: none; }
.header-wa { margin-left: 4px; padding: 0; width: 40px; min-height: 40px; }
.header-wa span { display: none; }

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .menu-toggle, .search-toggle { display: none; }
  .brand { margin-right: 28px; }
  .brand img { height: 60px; }
  .main-nav { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; border: 0; background: none; display: flex; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav li a { font-family: var(--font-body); font-size: 15px; font-weight: 600; padding: 8px 14px; border: 0; border-radius: 999px; color: rgba(255,255,255,.85); }
  .main-nav li a:hover { color: #fff; background: rgba(255,255,255,.08); }
  .main-nav li a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
  .nav-instagram { display: none; }
  .header-search { display: flex; position: static; padding: 0; background: none; margin-left: auto; width: 300px; }
  .header-search input { height: 42px; font-size: 14px; background: var(--ink-3); color: #fff; }
  .header-search input::placeholder { color: rgba(255,255,255,.55); }
  .header-search button { width: 46px; }
  .header-actions { gap: 8px; margin-left: 12px; }
  .list-btn { width: auto; padding: 0 14px 0 10px; gap: 8px; height: 42px; border: 1px solid rgba(255,255,255,.2); }
  .list-btn-label { display: inline; font-weight: 600; font-size: 14px; }
  .list-btn .list-count { position: static; }
  .header-wa { width: auto; padding: 7px 16px; min-height: 42px; }
  .header-wa span { display: inline; }
}

/* ---------------- Banner rotativo ---------------- */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; touch-action: pan-y; }
.hero-track { position: relative; height: min(78svh, 620px); min-height: 460px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide picture, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide.is-active img { animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-link-full { position: absolute; inset: 0; z-index: 3; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.88) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 72px; }
.hero-content .badge { align-self: flex-start; margin-bottom: 14px; }
.hero-title { font-size: clamp(32px, 8.5vw, 64px); font-weight: 700; max-width: 14ch; margin: 0; text-wrap: balance; }
.hero-text { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255,255,255,.88); max-width: 44ch; margin-bottom: 22px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-arrow {
  position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.35); color: #fff; display: none; place-items: center; backdrop-filter: blur(4px);
  transition: background .2s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow .icon { width: 26px; height: 26px; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots { position: absolute; z-index: 4; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 4px; }
.hero-dots button { width: 28px; height: 24px; padding: 0; border: 0; background: none; position: relative; }
.hero-dots button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); transition: background .3s; }
.hero-dots button[aria-selected="true"]::before { background: var(--red); }
@media (min-width: 768px) {
  .hero-track { height: auto; aspect-ratio: 1920 / 700; min-height: 520px; max-height: 720px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%); }
  .hero-content { justify-content: center; padding-bottom: 0; }
  .hero-arrow { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Seções ---------------- */
.section { padding: 56px 0; }
.section-gray { background: var(--gray-bg); }
.section-gray + .section-gray { padding-top: 0; }
.section-title { font-size: clamp(26px, 5vw, 38px); font-weight: 700; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head .section-title { margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red-text); text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.link-more .icon { width: 18px; height: 18px; }
.lead { font-size: 18px; color: var(--gray-text); }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.intro-actions.center { justify-content: center; }
.intro-inner { display: grid; gap: 12px; }
.intro .section-title { position: relative; padding-bottom: 18px; margin-bottom: 0; }
.intro .section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 4px; background: var(--red); transform: skewX(-25deg); border-radius: 2px; }
@media (min-width: 900px) {
  .section { padding: 80px 0; }
  .intro-inner { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
}

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card {
  position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2); color: #fff; text-decoration: none; box-shadow: var(--shadow);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85)); }
.cat-card:hover img { transform: scale(1.06); }
.cat-name {
  position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--font-title); font-weight: 700; font-size: 18px;
}
.cat-name .icon { width: 30px; height: 30px; padding: 6px; border-radius: 999px; background: var(--red); transition: transform .2s; }
.cat-card:hover .cat-name .icon { transform: translateX(3px); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; } .cat-name { font-size: 20px; } }

/* ---------------- Cards de produto ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.product-grid-scroll { }
@media (max-width: 719px) {
  .product-grid-scroll {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none;
  }
  .product-grid-scroll::-webkit-scrollbar { display: none; }
  .product-grid-scroll > .card { flex: 0 0 66%; scroll-snap-align: start; }
}
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 12px 32px rgba(10,10,10,.12); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: #fafafa; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .badge { position: absolute; top: 10px; left: 10px; }
.card-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gray-mid); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px; }
.card-cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); margin: 0 0 4px; }
.card-title { font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.card-title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--red-text); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; margin-bottom: 12px; }
.price-old { color: var(--gray-mid); font-size: 13px; }
.price-now { font-family: var(--font-title); font-weight: 700; font-size: 19px; color: var(--ink); }
.price-consult { font-weight: 700; color: var(--gray-text); }
.card-actions { display: flex; gap: 6px; }
.card-actions .btn-primary { flex: 1; min-width: 0; padding-left: 8px; padding-right: 8px; font-size: 13px; gap: 4px; }
.card-actions .btn-whatsapp { flex-shrink: 0; }
@media (max-width: 599px) { .hide-xs { display: none; } }
@media (min-width: 720px) {
  .card-body { padding: 16px; }
  .card-title { font-size: 15px; }
  .price-now { font-size: 21px; }
  .card-actions .btn-primary { font-size: 14px; }
}

/* ---------------- Como funciona ---------------- */
.how { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.how::before {
  content: ""; position: absolute; right: -10%; top: 40px; width: 70%; height: 6px;
  background: linear-gradient(90deg, transparent, var(--red)); transform: skewX(-30deg); opacity: .8;
}
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); }
.step-n {
  position: absolute; top: 16px; right: 20px; font-family: var(--font-title); font-size: 56px; font-weight: 700;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25);
}
.step .icon { color: var(--red); margin-bottom: 14px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,.72); margin: 0; }
.how-note { margin: 24px 0 0; color: rgba(255,255,255,.6); font-size: 14px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------------- Instagram ---------------- */
.insta-band { background: var(--red); color: #fff; padding: 40px 0; }
.insta-inner { display: grid; gap: 16px; justify-items: start; }
.insta-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(0,0,0,.18); display: grid; place-items: center; }
.insta-text h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 4px; }
.insta-text p { margin: 0; color: rgba(255,255,255,.9); }
.insta-band .btn-light { color: var(--red-text); }
@media (min-width: 800px) { .insta-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; } }

/* ---------------- Rodapé ---------------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.75); font-size: 15px; }
.footer-grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.footer-brand img { width: 168px; margin-bottom: 12px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-title { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 12px; }
.footer-link { color: #fff; font-weight: 600; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .footer-link:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom a { color: #fff; font-weight: 600; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; } }
body.page-produto .site-footer, body.has-sticky .site-footer { padding-bottom: 76px; }
@media (min-width: 900px) { body.has-sticky .site-footer { padding-bottom: 0; } }

/* ---------------- Cabeçalho de páginas internas ---------------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 48px 0 40px; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -40px; bottom: 26px; width: 55%; height: 5px;
  background: linear-gradient(90deg, transparent, var(--red)); transform: skewX(-30deg);
}
.page-hero h1 { font-size: clamp(32px, 7vw, 52px); margin: 0; }
.page-hero .red-stroke { margin-bottom: 0; }
.page-hero-text { margin: 16px 0 0; max-width: 56ch; color: rgba(255,255,255,.82); font-size: 18px; }
.page-hero-sm { padding: 28px 0 26px; }
.page-hero-sm h1 { font-size: clamp(28px, 5vw, 40px); }
.page-hero-photo { padding: 0; min-height: 300px; display: flex; align-items: flex-end; }
.page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo .page-hero-content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 40px; }
.page-hero-content { position: relative; z-index: 1; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 60px; } .page-hero-photo { min-height: 420px; padding: 0; } }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb-dark { color: var(--gray-text); padding: 18px 0 14px; margin: 0; }
.breadcrumb-dark a:hover { color: var(--red-text); }

/* ---------------- Sobre ---------------- */
.about-grid { display: grid; gap: 40px; }
.prose p { font-size: 17px; color: #2d333a; }
.about-sign { font-family: var(--font-title); font-weight: 700; font-size: 22px !important; color: var(--ink) !important; border-left: 4px solid var(--red); padding-left: 14px; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-photos img:nth-child(2) { margin-top: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; } }
.diffs { display: grid; gap: 16px; margin-top: 32px; }
.diff { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.diff-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 16px; }
.diff-icon .icon { color: #fff; }
.diff h3 { font-size: 20px; }
.diff p { margin: 0; color: var(--gray-text); }
@media (min-width: 800px) { .diffs { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------------- Contato ---------------- */
.contact-grid { display: grid; gap: 24px; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }
.contact-card > span:nth-child(2) { flex: 1; color: var(--gray-text); line-height: 1.45; }
.contact-card strong { display: block; color: var(--ink); font-size: 16px; }
.contact-card > .icon { color: var(--gray-mid); }
.contact-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; flex-shrink: 0; }
.contact-card-wa .contact-icon { background: var(--wa); }
.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; background: #e9ebee; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { position: absolute; left: 12px; bottom: 12px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } .map-wrap { min-height: 520px; } }

/* ---------------- Catálogo ---------------- */
.catalog-section { background: var(--gray-bg); padding: 20px 0 64px; min-height: 60vh; }
.catalog-layout { display: block; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 14px; }
.results-count { margin: 0; color: var(--gray-text); font-size: 14px; order: 3; width: 100%; }
.results-count strong { color: var(--ink); }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gray-text); }
.sort select {
  height: 38px; padding: 0 34px 0 14px; border: 1px solid var(--gray-line); border-radius: 999px; background: #fff;
  appearance: none; -webkit-appearance: none; color: var(--ink); font-weight: 600; font-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121417' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.sort span { display: none; }
.pill-count { background: var(--red); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; font-size: 12px; line-height: 20px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-remove {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
}
.chip-remove .icon { width: 14px; height: 14px; }
.chip-remove:hover { background: var(--red); }
.chip-clear { align-self: center; font-size: 13px; font-weight: 600; color: var(--red-text); margin-left: 4px; }
.load-more { text-align: center; margin-top: 28px; }
.empty-state { text-align: center; background: #fff; border-radius: var(--radius); padding: 48px 20px; box-shadow: var(--shadow); color: var(--gray-text); }
.empty-state .icon { color: var(--gray-mid); margin: 0 auto 12px; }
.empty-state h2 { color: var(--ink); font-size: 22px; }
.results.is-loading { opacity: .5; pointer-events: none; transition: opacity .15s; }

/* Filtros: gaveta no celular, lateral no computador */
.filters {
  position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(360px, 90vw);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .3s var(--ease); visibility: hidden;
}
body.filters-open .filters { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
body.filters-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 89; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--gray-line); }
.filters-head h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.filters-close:hover { background: var(--gray-bg); }
.filters-body { flex: 1; overflow-y: auto; padding: 4px 20px 20px; overscroll-behavior: contain; }
.filters-foot { display: flex; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--gray-line); }
.filters-foot .btn-primary { flex: 1; }
.filter-group { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--gray-line); min-width: 0; }
.filter-group:last-of-type { border-bottom: 0; }
.filter-title { display: block; font-family: var(--font-title); font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; cursor: pointer; }
.opt small { margin-left: auto; color: var(--gray-mid); font-size: 12px; }
.opt input, .color-opt input, .size-opt input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.opt-sub { padding-left: 26px; border-left: 2px solid var(--gray-line); margin-left: 8px; }
.opt-sub .opt { font-size: 14px; padding: 4px 0; }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-mid); width: 18px; height: 18px; }
.search-field input { width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid var(--gray-line); border-radius: 999px; background: #fff; font-size: 16px; }
.search-field input:focus { border-color: var(--ink); outline: none; }
.size-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.size-opt { position: relative; cursor: pointer; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 38px; padding: 0 10px;
  border: 1.5px solid var(--gray-line); border-radius: 10px; font-size: 14px; font-weight: 600; transition: all .15s;
}
.size-opt:hover span { border-color: var(--ink); }
.size-opt input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.size-opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.color-opt { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1.5px solid var(--gray-line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.color-opt input { position: absolute; opacity: 0; pointer-events: none; }
.color-opt:has(input:checked) { border-color: var(--red); background: #fff5f5; }
.color-opt:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.swatch { width: 20px; height: 20px; border-radius: 999px; background: var(--swatch, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex-shrink: 0; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range label { position: relative; flex: 1; }
.price-range .prefix { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--gray-mid); }
.price-range input { width: 100%; height: 42px; padding: 0 8px 0 34px; border: 1px solid var(--gray-line); border-radius: 10px; font-size: 16px; }
.range-sep { color: var(--gray-mid); font-size: 13px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { width: 44px; height: 26px; border-radius: 999px; background: #cfd4da; position: relative; transition: background .2s; flex-shrink: 0; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .switch-ui { background: var(--red); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--red); outline-offset: 2px; }
.switch small { color: var(--gray-mid); font-weight: 400; }

@media (min-width: 1024px) {
  .catalog-section { padding-top: 32px; }
  .catalog-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
  .filters {
    position: sticky; top: calc(var(--header-h) + 16px); inset: auto; width: auto; transform: none; visibility: visible; z-index: 1;
    max-height: calc(100vh - var(--header-h) - 32px); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  body.filters-open::after { display: none; }
  .filters-close, .filters-open, .filters-foot .btn-primary { display: none; }
  .filters-foot { justify-content: center; }
  .results-count { order: 0; width: auto; }
  .sort span { display: inline; }
}

/* ---------------- Página do produto ---------------- */
.product-page { background: #fff; }
.product-grid-main { display: grid; gap: 24px; padding-bottom: 32px; }
.gallery { min-width: 0; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #fafafa; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-empty { display: grid; place-items: center; color: var(--gray-mid); cursor: default; }
.gallery-badge { position: absolute; top: 14px; left: 14px; }
.gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gallery-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(0,0,0,.2); transition: all .2s; }
.gallery-dots span.is-active { background: var(--red); width: 22px; }
.gallery-zoom-hint { display: none; }
.gallery-thumbs { display: none; }
@media (min-width: 900px) {
  .product-grid-main { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; padding-top: 8px; padding-bottom: 56px; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .gallery-dots { display: none; }
  .gallery-zoom-hint {
    display: inline-flex; align-items: center; gap: 6px; position: absolute; right: 12px; bottom: 12px;
    background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; pointer-events: none;
  }
  .gallery-zoom-hint .icon { width: 16px; height: 16px; }
  .gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
  .gallery-thumbs button { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fafafa; opacity: .7; transition: all .15s; }
  .gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--red); opacity: 1; }
  .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
}
.product-title { font-size: clamp(26px, 5vw, 38px); margin: 4px 0 10px; }
.product-short { color: var(--gray-text); font-size: 17px; }
.price-lg { margin: 18px 0; gap: 4px 12px; }
.price-lg .price-now { font-size: 34px; }
.price-lg .price-old { font-size: 16px; }
.price-lg .price-consult { font-size: 22px; font-family: var(--font-title); color: var(--ink); }
.price-until { width: 100%; font-size: 13px; color: var(--red-text); font-weight: 600; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 8px; padding: 14px 0; border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line); }
.product-meta div { display: flex; gap: 8px; font-size: 15px; }
.product-meta dt { color: var(--gray-text); }
.product-meta dd { margin: 0; font-weight: 600; }
.option-block { margin-top: 18px; }
.chips-label { font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.chips-selected { font-weight: 400; color: var(--gray-text); }
.req { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 52px; height: 44px; padding: 0 14px; border: 1.5px solid var(--gray-line); border-radius: 12px; background: #fff;
  font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"] { border-color: var(--red); background: var(--red); color: #fff; }
.chip-color[aria-checked="true"] { background: #fff5f5; color: var(--ink); }
.form-error { color: var(--red-text); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.chips.has-error .chip { border-color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--gray-line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; }
.qty button:hover { background: var(--gray-bg); }
.qty button .icon { width: 18px; height: 18px; }
.qty input { width: 48px; height: 44px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-cta { display: none; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.product-cta .btn { flex: 1 1 220px; }
.product-note { margin-top: 16px; color: var(--gray-text); font-size: 14px; }
.sticky-cta {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  box-shadow: 0 -6px 24px rgba(0,0,0,.12);
}
.sticky-cta .btn { min-height: 48px; padding-left: 10px; padding-right: 10px; }
@media (min-width: 900px) { .product-cta { display: flex; } .sticky-cta { display: none; } }
.product-details { display: grid; gap: 32px; padding: 32px 0 56px; border-top: 1px solid var(--gray-line); }
.details-title { font-size: 22px; padding-bottom: 10px; position: relative; }
.details-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--red); transform: skewX(-25deg); }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--gray-line); vertical-align: top; }
.specs th { width: 42%; color: var(--gray-text); font-weight: 600; }
.specs tr:nth-child(odd) { background: var(--gray-bg); }
@media (min-width: 900px) { .product-details { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

/* Lightbox (zoom) */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.lightbox-stage { width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.lightbox-stage img { max-width: 92vw; max-height: 90vh; object-fit: contain; transition: transform .25s; }
.lightbox-stage.is-zoomed { cursor: zoom-out; }
.lightbox-stage.is-zoomed img { transform: scale(2.2); }
.lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 2; color: #fff; background: rgba(255,255,255,.1); }
.lightbox .hero-arrow { display: grid; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------------- Gaveta "Minha lista" ---------------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 99; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.list-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100vw);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
}
.list-drawer.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; background: var(--black); color: #fff; }
.drawer-head h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.drawer-head h2 .icon { color: var(--red); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--gray-line); background: #fff; }
.drawer-foot-row { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; }
.drawer-foot-row .btn { font-size: 14px; }
.list-empty { text-align: center; padding: 48px 12px; color: var(--gray-text); }
.list-empty .icon { margin: 0 auto 12px; color: var(--gray-mid); }
.list-empty strong { color: var(--ink); font-size: 18px; }
.list-items { list-style: none; padding: 0; margin: 0; }
.list-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-line); }
.list-item img, .list-item .li-noimg { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--gray-bg); }
.li-name { font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; display: block; margin-bottom: 2px; }
.li-name:hover { color: var(--red-text); }
.li-opts { font-size: 13px; color: var(--gray-text); margin: 0 0 8px; }
.li-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.li-row .qty button { width: 34px; height: 34px; }
.li-row .qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }
.li-price { font-weight: 700; font-family: var(--font-title); white-space: nowrap; }
.li-price small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--gray-mid); font-size: 11px; text-align: right; }
.li-remove { border: 0; background: none; color: var(--gray-mid); padding: 6px; border-radius: 8px; display: grid; place-items: center; }
.li-remove:hover { color: var(--red-text); background: #fff0f0; }
.li-remove .icon { width: 18px; height: 18px; }
.list-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; font-size: 16px; }
.list-total strong { font-family: var(--font-title); font-size: 24px; }
.list-note { font-size: 13px; color: var(--gray-text); margin-bottom: 16px; }
.list-limit { font-size: 13px; background: #fff5f5; color: var(--red-text); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--gray-mid); }
.field input, .field textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-line); border-radius: 12px; font-size: 16px; background: #fff; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.list-confirm { position: absolute; inset: 0; background: rgba(255,255,255,.88); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; z-index: 2; }
.list-confirm-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; text-align: center; max-width: 340px; }
.list-confirm-box h3 { font-size: 22px; }
.list-confirm-actions { display: grid; gap: 8px; margin-top: 16px; }

/* Modal de variação */
.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-end; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: fadeIn .2s; }
.modal-box {
  position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 20px 20px 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
  animation: slideUp .25s var(--ease);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } }
.modal-close { position: absolute; top: 8px; right: 8px; }
.modal-close:hover { background: var(--gray-bg); }
.modal-product { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-right: 36px; }
.modal-product img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--gray-bg); }
.modal-product h2 { font-size: 18px; margin: 0; font-family: var(--font-body); }
.modal-product .eyebrow { margin-bottom: 2px; }
.modal-box .chips { margin-bottom: 18px; }
.modal-box .form-error { margin: -8px 0 12px; }
@media (min-width: 640px) { .modal { align-items: center; } .modal-box { border-radius: 20px; } }

/* Toast */
.toast {
  position: fixed; z-index: 130; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 32px);
  background: var(--ink); color: #fff; padding: 12px 12px 12px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 500; animation: toastIn .3s var(--ease);
}
body.has-sticky .toast { bottom: 88px; }
@media (min-width: 900px) { body.has-sticky .toast { bottom: 24px; } }
@keyframes toastIn { from { transform: translate(-50%, 20px); opacity: 0; } }
.toast-msg::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #3ddc84; margin-right: 10px; vertical-align: 1px; }
.toast-action { border: 0; background: var(--red); color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap; }

.empty-page { padding: 100px 0; }
