/* DOMCAR — e-commerce limpo. Branco, preto e vermelho só nos detalhes. */
:root {
  --red: #FF0000;
  --black: #000000;
  --ink: #111111;
  --muted: #6B6B6B;
  --line: #E6E6E6;
  --soft: #F7F7F7;
  --white: #FFFFFF;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, .06);
  --font: "Inter", system-ui, -apple-system, Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --ease-line: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 260ms;
  --t-slow: 560ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 40px); margin-inline: auto; }
.muted, .dim { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.stars { color: var(--red); letter-spacing: 1px; font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.js .reveal {
  opacity: 0;
  transform: translateY(18px) scale(.99);
  transition: opacity var(--t-slow) var(--ease-soft), transform var(--t-slow) var(--ease-soft);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.in { opacity: 1; transform: none; }
.js.reveal-failsafe .reveal, .js.reveal-failsafe .reveal.in { opacity: 1 !important; transform: none !important; }
.scroll-progress {
  position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left center;
  transition: transform .1s linear; pointer-events: none;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes cdTick {
  0% { opacity: .35; transform: translateY(-7px); }
  100% { opacity: 1; transform: none; }
}
@keyframes priceBump {
  0% { opacity: .35; transform: translateY(6px); }
  100% { opacity: 1; transform: none; }
}
@keyframes countPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bar-track i { width: var(--bar-target, 0) !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--black);
  border-bottom: 1px solid var(--black);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .28); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 34px; width: auto; }
.site-header .brand { display: inline-flex; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { position: relative; font-size: 13px; font-weight: 500; color: #E8E8E8; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-fast) var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.cart-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 13px;
  border: 1px solid #3A3A3A; border-radius: 6px;
  font-size: 12px; font-weight: 600; color: var(--white);
  background: transparent;
}
.cart-link:hover { border-color: var(--red); color: var(--red); }
.cart-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-grid; place-items: center;
  background: var(--red); color: var(--white);
  border-radius: 10px; font-size: 11px; font-weight: 700;
  transform-origin: center;
}
.cart-count.pop { animation: countPop var(--t-med) var(--ease-out); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid #3A3A3A; border-radius: 6px; background: transparent; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--white); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--white); }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }

/* Transição do cabeçalho preto para o fundo branco. */
.header-wave { height: 54px; background: var(--white); position: relative; z-index: 1; }
.header-wave svg { display: block; width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--red); border-radius: 6px;
  background: var(--red); color: var(--white);
  font-size: 13px; font-weight: 700; line-height: 1;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform 100ms ease-out;
}
.btn::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 25%, rgba(255,255,255,.26) 50%, transparent 75%);
  transform: translateX(-120%); transition: transform .55s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn svg { position: relative; width: 16px; height: 16px; stroke: currentColor; fill: none; transition: transform var(--t-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: #D5D5D5; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 82px; border-bottom: 1px solid var(--line); background: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow, .section-tag, .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}
.kicker::before, .section-tag::before { content: ""; width: 14px; height: 2px; background: var(--red); }
.hero-title { margin-top: 18px; font-size: clamp(2.3rem, 4.4vw, 3.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: var(--black); }
.hero-title span, .section-title span { color: var(--red); }
.hero-title span, .section-title span { position: relative; display: inline-block; }
.hero-title span::after, .section-title span::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease-line) .18s;
}
.hero-promo.in .hero-title span::after, .section-head.in .section-title span::after { transform: scaleX(1); }
.js .hero-promo.in .hero-title { animation: riseIn .58s var(--ease-soft) both; }
.js .hero-promo.in > p { animation: riseIn .58s var(--ease-soft) .08s both; }
.js .hero-grid > .reveal.in { animation: riseIn .58s var(--ease-soft) .16s both; }
.js .hero-grid .buy-panel { animation: riseIn .58s var(--ease-soft) .24s both; }
.js .hero-stats.in > div { animation: riseIn .5s var(--ease-soft) both; animation-delay: calc(var(--i, 0) * 70ms); }
.hero-sub { margin-top: 20px; max-width: 520px; color: var(--muted); font-size: 16px; }
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-size: 26px; line-height: 1; font-weight: 800; color: var(--black); }
.hero-stats b span { font-size: 14px; color: var(--muted); }
.hero-stats small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.hero-visual { min-width: 0; }
.product-stage {
  background: var(--soft); border: 1px solid var(--line); border-radius: 12px;
  min-height: 400px; display: grid; place-items: center; padding: 32px;
  box-shadow: var(--shadow);
}
.product-stage img { width: 100%; max-height: 330px; object-fit: contain; }
.stage-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; justify-content: center; }
.stage-badges span { padding: 6px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 600; color: #444; }
.stage-badges span:first-child { border-color: var(--red); color: var(--red); }

/* ---------- Promoção de fim de ano / compra no topo ---------- */
.shipping-ribbon {
  min-height: 26px; display: flex; align-items: center; overflow: hidden; background: var(--black); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-align: center;
}
.ribbon-marquee { width: 100%; overflow: hidden; }
.ribbon-marquee-track { display: flex; width: max-content; animation: ribbonScroll 40s linear infinite; }
.ribbon-group {
  display: inline-flex; align-items: center; flex: 0 0 auto;
  white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .06em;
}
.ribbon-group i {
  display: inline-block; width: 6px; height: 6px; margin: 0 28px;
  border-radius: 50%; background: var(--red); flex: 0 0 auto;
}
@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-marquee-track { animation: none !important; transform: none !important; }
  .ribbon-group:nth-child(2) { display: none !important; }
  .ribbon-group { width: 100%; justify-content: center; }
  .ribbon-group i { margin: 0 12px; }
}
.promo-strip { background: var(--black); color: var(--white); border-top: 1px solid #2A2A2A; }
.promo-strip-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 0; }
.ps-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ps-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.ps-text { font-size: 13px; font-weight: 600; line-height: 1.3; }
.cd { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.cd-label { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.cd-label-short { display: none; }
.cd-units { display: flex; gap: 6px; }
.cd-units div { min-width: 48px; text-align: center; padding: 6px 5px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; }
.cd-units b { display: block; font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; transform-origin: center; }
.cd-units b.tick { animation: cdTick 220ms var(--ease-out); }
.cd-units small { display: block; margin-top: 4px; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero--product { padding: 28px 0 44px; }
.hero--product .hero-grid { gap: 28px; align-items: start; }
.hero-promo {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end; gap: 32px; margin-bottom: 24px;
}
.hero-promo > p { max-width: 420px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hero-title--compact { margin-top: 10px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.hero-stats--compact { margin-top: 26px; padding-top: 18px; }
.hero-stats--compact b { font-size: 22px; }
.promo-banner { padding: 36px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promo-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.promo-banner h2 { margin-top: 10px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--black); }
.promo-banner h2 span { color: var(--red); }
.promo-banner p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.buy-bar-promo { color: var(--red) !important; font-weight: 700; }

/* ---------- Seções ---------- */
.section { padding: 76px 0; scroll-margin-top: 84px; }
.section--soft { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.section-title { margin-top: 12px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--black); }
.section-title span { color: var(--red); }
.section-copy { max-width: 470px; color: var(--muted); font-size: 14px; }

/* ---------- Produto / compra ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 40px; align-items: start; }
.product-layout > * { min-width: 0; }
.product-visual { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; min-height: 420px; display: grid; place-items: center; padding: 28px; }
.product-visual img {
  width: 100%; max-height: 360px; object-fit: contain;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.product-visual img.swap { opacity: .28; transform: scale(.985) translateX(6px); }
.visual-index { display: block; margin-top: 10px; text-align: center; font-size: 11px; color: var(--muted); }
.thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; }
.thumbs button {
  flex: 0 0 70px; height: 62px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.thumbs button:hover { transform: translateY(-2px); border-color: #BFBFBF; }
.thumbs button.active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t-med) var(--ease-out); }
.thumbs button:hover img { transform: scale(1.06); }
.buy-panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; box-shadow: var(--shadow); }
.badge-queima { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: var(--red); color: var(--white); border-radius: 4px; font-size: 10px; font-weight: 700; }
.product-name { margin-top: 16px; font-size: 25px; font-weight: 800; line-height: 1.2; color: var(--black); }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.product-meta .divider { width: 1px; height: 12px; background: var(--line); }
.option-label { margin: 26px 0 10px; font-size: 12px; font-weight: 700; color: var(--ink); }
.options { display: grid; gap: 10px; }
.option {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); text-align: left;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.option:hover { border-color: #BDBDBD; }
.option.active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #FFFBFB; }
.option-radio { width: 18px; height: 18px; border: 1px solid #BDBDBD; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; transition: border-color var(--t-fast) var(--ease-out); }
.option.active .option-radio { border-color: var(--red); }
.option.active .option-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: radioIn 200ms var(--ease-out) both; }
@keyframes radioIn { from { transform: scale(0); } to { transform: scale(1); } }
.price-side .pix.bump { animation: priceBump var(--t-med) var(--ease-out); }
.option-body { flex: 1; min-width: 0; }
.option-body b { display: block; font-size: 13px; }
.option-body small { display: block; color: var(--muted); font-size: 11px; }
.option-price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.option-flag { position: absolute; top: -9px; right: 12px; padding: 2px 7px; background: var(--red); color: var(--white); border-radius: 3px; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.price-box { margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.price-main { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.price-side { text-align: right; }
.price-side .pix { font-size: 34px; font-weight: 800; line-height: 1; color: var(--red); }
.price-side small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.buy-actions { display: grid; gap: 10px; margin-top: 20px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 15px; height: 15px; stroke: var(--red); fill: none; }

/* ---------- Benefícios / galeria / oferta ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature {
  padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.feature.in:hover, .info-card.in:hover, .review-card.in:hover {
  transform: translateY(-3px); border-color: #CFCFCF; box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.feature-n { font-size: 11px; font-weight: 700; color: var(--red); }
.feature-icon { height: 38px; margin: 12px 0 10px; display: flex; align-items: center; transition: transform var(--t-fast) var(--ease-out); }
.feature:hover .feature-icon { transform: translateY(-2px); }
.feature-icon svg { width: 32px; height: 32px; stroke: var(--red); stroke-width: 1.7; fill: none; }
.js .feature.in .feature-icon svg > * {
  stroke-dasharray: 180; stroke-dashoffset: 180;
  animation: drawLine .75s var(--ease-line) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
}
.feature h3 { font-size: 14px; font-weight: 700; color: var(--ink); }
.feature p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.gallery-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: start; }
.gallery-main { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; min-height: 360px; display: grid; place-items: center; }
.gallery-main img { width: 100%; max-height: 340px; object-fit: contain; padding: 22px; }
.gallery-list { display: grid; gap: 8px; }
.gallery-list button { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-align: left; }
.gallery-list button.active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.gallery-list button b { font-size: 12px; font-weight: 700; color: var(--red); }
.gallery-list button span { font-size: 12px; }
.bundle { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; box-shadow: var(--shadow); }
.bundle img { width: 100%; max-height: 240px; object-fit: contain; }
.bundle h3 { margin-top: 12px; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; line-height: 1.15; color: var(--black); }
.bundle p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.bundle .btn { margin-top: 20px; }

/* ---------- Avaliações ---------- */
.rating-head { position: relative; display: grid; grid-template-columns: minmax(150px, 200px) 1fr minmax(160px, 210px); align-items: center; gap: 34px; margin-bottom: 34px; padding: 30px 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.rating-head > .section-tag { position: absolute; top: 0; left: 24px; transform: translateY(-50%); padding: 0 8px; background: var(--white); }
.rating-score { display: flex; flex-direction: column; align-items: flex-start; font-size: 54px; font-weight: 800; line-height: 1; color: var(--black); }
.rating-score small { font-size: 18px; color: var(--muted); }
.rating-score .stars { margin-top: 10px; font-size: 14px; letter-spacing: .06em; }
.rating-info b { display: block; font-size: 14px; }
.rating-info > small { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; }
.bar-row { display: flex; align-items: center; gap: 9px; margin-top: 5px; font-size: 11px; color: var(--muted); }
.bar-row > span:first-child { width: 20px; }
.bar-row > span:last-child { width: 28px; text-align: right; }
.bar-track { flex: 1; max-width: 160px; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 2px; transition: width .7s cubic-bezier(.22, 1, .36, 1); }
.js .rating-head.in .rating-info .bar-row:nth-of-type(1) .bar-track i { transition-delay: 0ms; }
.js .rating-head.in .rating-info .bar-row:nth-of-type(2) .bar-track i { transition-delay: 60ms; }
.js .rating-head.in .rating-info .bar-row:nth-of-type(3) .bar-track i { transition-delay: 120ms; }
.js .rating-head.in .rating-info .bar-row:nth-of-type(4) .bar-track i { transition-delay: 180ms; }
.js .rating-head.in .rating-info .bar-row:nth-of-type(5) .bar-track i { transition-delay: 240ms; }
.rating-side { align-self: center; border-left: 1px solid var(--line); padding-left: 24px; }
.rating-side b { display: block; font-size: 30px; line-height: 1; color: var(--red); }
.rating-side span { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ink); }
.rating-side small { display: block; margin-top: 6px; font-size: 10px; color: var(--muted); }
.review-photos-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 34px 0 12px; }
.review-photo-count { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.review-photo-strip { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.review-strip-track { display: flex; gap: 10px; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 3px 2px 9px; }
.review-strip-track::-webkit-scrollbar { display: none; }
.review-strip-track.auto-scroll-on, .product-carousel-track.auto-scroll-on { scroll-snap-type: none; }
.review-strip-item { flex: 0 0 auto; width: 104px; height: 132px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--white); overflow: hidden; cursor: zoom-in; scroll-snap-align: start; }
.review-strip-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.review-strip-arrow {
  flex: 0 0 auto; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
@media (hover: hover) {
  .review-strip-arrow:hover { border-color: var(--ink); transform: scale(1.06); }
  .review-strip-item:hover img { transform: scale(1.05); }
}
@media (hover: none) {
  .review-strip-arrow { display: none !important; }
}
.review-strip-arrow:active { transform: scale(.96); }
.review-strip-arrow[hidden] { display: none; }
.product-carousel { display: flex; align-items: center; gap: 12px; }
.product-carousel-track { display: flex; gap: 14px; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 3px 2px 10px; }
.product-carousel-track::-webkit-scrollbar { display: none; }
.product-carousel-track .product-card { flex: 0 0 auto; width: 260px; scroll-snap-align: start; }
.product-carousel[hidden], .review-photo-strip[hidden] { display: none !important; }
@media (max-width: 560px) {
  .product-carousel-track .product-card { width: min(76vw, 290px); }
}
.section--depoimentos { padding-top: 58px; }
.section--depoimentos .review-photo-strip { margin-bottom: 0; }
.section--depoimentos .review-strip-item { width: 132px; height: 168px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review-card {
  padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.review-card h4 { margin-top: 10px; font-size: 13px; font-weight: 700; }
.review-card small { color: var(--muted); font-size: 10px; }
.review-card p { margin-top: 10px; color: #444; font-size: 12px; }
.review-photos { display: flex; gap: 6px; margin-top: 12px; }
.review-photos button { border: 0; padding: 0; background: none; }
.review-photos img { width: 46px; height: 46px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); cursor: pointer; }
.reviews-more { display: none; }
.reviews-more.on { display: grid; }
.center-more { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Garantia / FAQ / CTA ---------- */
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; }
.seal { width: 126px; height: 126px; border-radius: 50%; border: 3px solid var(--red); color: var(--red); display: grid; place-items: center; }
.seal-inner { text-align: center; }
.seal-inner b { display: block; font-size: 30px; line-height: .95; font-weight: 800; }
.seal-inner small { display: block; margin-top: 6px; font-size: 9px; font-weight: 700; letter-spacing: .05em; }
.guarantee h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.2; color: var(--black); }
.guarantee p { margin-top: 12px; color: var(--muted); max-width: 620px; font-size: 14px; }
.guarantee-items { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.guarantee-items span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.guarantee-items span::before { content: ""; width: 12px; height: 2px; background: var(--red); }
.faq { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 4px; font-weight: 600; font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-size: 18px; color: var(--red); width: 14px; transition: transform 200ms var(--ease-out); }
.faq details[open] summary { color: var(--red); }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq details p { padding: 0 26px 20px; color: var(--muted); font-size: 13px; }
.js .faq details[open] p { animation: faqIn 260ms var(--ease-out) both; }
.final-cta { padding: 76px 0; text-align: center; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final-cta .kicker { justify-content: center; }
.final-cta h2 { margin-top: 14px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--black); }
.final-cta h2 span { color: var(--red); }
.final-cta p { margin: 12px auto 24px; max-width: 500px; color: var(--muted); font-size: 14px; }
.success-title { margin-top: 18px; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--black); }
.success-title span { color: var(--red); }

/* ---------- Rodapé ---------- */
.footer { background: var(--black); color: var(--white); padding: 54px 0 24px; }
.footer .brand { display: inline-flex; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; }
.footer p { margin-top: 14px; max-width: 320px; color: #A6A6A6; font-size: 12px; }
.footer h4 { margin-bottom: 12px; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #A6A6A6; font-size: 12px; }
.footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2A2A2A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 11px; color: #8A8A8A; }
.footer-bottom .pix-note { color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.footer-bottom .pix-note::first-letter { color: var(--red); }

/* ---------- Barra inferior de compra ---------- */
.buy-bar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0, 0, 0, .08); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(110%); transition: transform var(--t-med) var(--ease-out); }
.buy-bar.on { transform: translateY(0); }
.buy-bar-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.buy-bar-info { min-width: 0; }
.buy-bar-info b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar-info small { display: block; color: var(--muted); font-size: 11px; }
.buy-bar-price { margin-left: auto; font-size: 22px; font-weight: 800; color: var(--red); }
.footer { padding-bottom: 88px; }

/* ---------- Páginas internas ---------- */
.page-head { padding: 48px 0 36px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--black); }
.page-head h1 span { color: var(--red); }
.page-head p { margin-top: 12px; color: var(--muted); max-width: 620px; font-size: 14px; }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.crumb a:hover { color: var(--red); }
.catalog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; padding: 40px 0 80px; }
.filters h3 { margin-bottom: 12px; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.filter-btn { display: inline-flex; width: 100%; padding: 9px 12px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); font-size: 12px; text-align: left; }
.filter-btn.active, .filter-btn:hover { border-color: var(--red); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.filter-btn[hidden] { display: none !important; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  transition: border-color var(--t-fast) var(--ease-out), transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.product-card:hover { border-color: #CFCFCF; transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.product-card-media { height: 250px; display: grid; place-items: center; background: var(--soft); }
.product-card-media img { width: 88%; max-height: 220px; object-fit: contain; transition: transform .38s var(--ease-out); }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { padding: 18px; }
.product-card .flag { font-size: 10px; font-weight: 700; color: var(--red); }
.product-card h3 { margin-top: 6px; font-size: 15px; font-weight: 700; }
.product-card p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.product-card-foot .num { font-size: 20px; font-weight: 800; }
.product-card-foot span:last-child { font-size: 10px; font-weight: 600; color: var(--muted); }
.product-card-add { margin: 0 18px 18px; width: calc(100% - 36px); }
.product-card--other .product-card-media { height: 220px; background: var(--white); border-bottom: 1px solid var(--line); }
.product-card--other .product-card-media img { width: 100%; max-height: 200px; object-fit: contain; }
.product-card--other .product-card-body { display: flex; flex-direction: column; align-items: stretch; }
.product-card-link { display: inline-block; margin-top: 10px; color: var(--red); font-size: 11px; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-note { margin-top: 18px; color: var(--muted); font-size: 12px; }
.section-cta { display: flex; justify-content: center; margin-top: 26px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; padding: 40px 0 80px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 100px; height: 80px; object-fit: contain; }
.cart-item h3 { font-size: 13px; font-weight: 700; }
.cart-item small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.cart-item > .num { font-size: 18px; font-weight: 700; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; margin-top: 8px; }
.qty button { width: 30px; height: 28px; background: var(--white); border: 0; color: var(--ink); }
.qty button:hover { color: var(--red); }
.qty span { width: 30px; text-align: center; font-size: 12px; font-weight: 700; }
.remove-item { border: 0; background: none; color: var(--muted); font-size: 11px; text-decoration: underline; margin-left: 10px; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px; box-shadow: var(--shadow); }
.summary h3 { font-size: 12px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: #444; font-size: 13px; }
.summary-row.discount { color: var(--red); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--black); font-weight: 700; }
.summary-row.total .num { font-size: 24px; }
.summary .btn { margin-top: 16px; }
.empty-cart { padding: 50px 18px; text-align: center; border: 1px dashed #D5D5D5; border-radius: 10px; }
.empty-cart h3 { font-size: 18px; font-weight: 700; }
.info-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 44px 0 80px; }
.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 24px;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.info-card h3 { margin-top: 8px; font-size: 16px; font-weight: 700; }
.info-card p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.info-card a { color: var(--red); font-weight: 600; }
.prose { max-width: 820px; margin: 0 auto; padding: 44px 0 80px; }
.prose h2 { margin: 28px 0 10px; font-size: 16px; font-weight: 700; color: var(--black); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 14px; }

/* ---------- Modal / toast ---------- */
.modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .9); }
.modal.on { display: flex; animation: fadeIn 200ms var(--ease-out) both; }
.modal img { max-height: 84vh; max-width: 100%; object-fit: contain; animation: modalZoom 280ms var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalZoom { from { opacity: .4; transform: scale(.97); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border: 1px solid var(--white); border-radius: 50%; background: transparent; color: var(--white); font-size: 22px; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.4); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.modal-nav.prev { left: 24px; }
.modal-nav.next { right: 24px; }
.modal-nav:hover { border-color: var(--white); background: rgba(0,0,0,.7); }
.modal-nav[hidden] { display: none; }
.modal-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--white); font-size: 11px; letter-spacing: .1em; }
@media (max-width: 820px) { .modal-nav { width: 36px; height: 36px; font-size: 22px; } .modal-nav.prev { left: 10px; } .modal-nav.next { right: 10px; } }
.toast { position: fixed; z-index: 300; bottom: 24px; left: 50%; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 6px; font-size: 12px; font-weight: 600; transition: all .22s ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .feature-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 62px; }
  .hero--product { padding: 24px 0 40px; }
  .hero-promo { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .promo-banner-inner { flex-direction: column; align-items: flex-start; }
  .promo-banner .btn { width: auto; }
  .section { padding: 56px 0; }
}
@media (max-width: 820px) {
  .hero-grid, .product-layout, .gallery-wrap, .bundle, .guarantee, .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 20px 20px; background: var(--black); border-bottom: 1px solid #333; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 10px 0; border-bottom: 1px solid #333; color: #E8E8E8; }
  .burger { display: inline-flex; }
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: flex; flex-wrap: wrap; gap: 7px; }
  .filters h3 { width: 100%; }
  .filter-btn { width: auto; margin: 0; }
  .buy-bar-info small { display: none; }
}
@media (max-width: 560px) {
  .header-inner { height: 58px; gap: 10px; }
  .header-wave { height: 28px; }
  .brand img { height: 28px; }
  .header-actions { margin-left: auto; gap: 6px; }
  .cart-link { height: 36px; min-height: 36px; padding: 0 9px; font-size: 11px; }
  .burger { width: 36px; height: 36px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-title--compact { font-size: clamp(1.55rem, 7vw, 2.1rem); }
  .hero-sub { font-size: 14px; }
  .hero-stats { gap: 18px; }
  .hero-stats b { font-size: 22px; }
  .product-stage, .product-visual { min-height: 300px; padding: 18px; }
  .feature-grid, .review-grid, .product-grid, .related-grid, .info-layout { grid-template-columns: 1fr; }
  .rating-score { font-size: 46px; }
  .rating-head { grid-template-columns: 1fr; gap: 22px; padding: 26px 20px; }
  .rating-side { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .review-strip-item, .section--depoimentos .review-strip-item { width: 88px; height: 112px; }
  .shipping-ribbon { min-height: 24px; font-size: 10px; }
  .ribbon-group { font-size: 10px; }
  .promo-strip-inner { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 0; }
  .ps-eyebrow { font-size: 8px; }
  .ps-text { font-size: 10px; line-height: 1.25; }
  .cd { width: 100%; justify-content: space-between; gap: 6px; }
  .cd-label-full { display: none; }
  .cd-label-short { display: inline; }
  .cd-units { gap: 4px; }
  .cd-units div { min-width: 36px; padding: 3px 3px; }
  .cd-units b { font-size: 15px; }
  .cd-units small { margin-top: 1px; font-size: 6px; letter-spacing: .06em; }
  .bundle, .buy-panel, .info-card { padding: 20px; }
  .seal { width: 110px; height: 110px; margin-inline: auto; }
  .seal-inner b { font-size: 26px; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .cart-item img { width: 72px; height: 64px; }
  .cart-item > .num { grid-column: 2; }
  .buy-bar-inner { gap: 10px; }
  .buy-bar-price { font-size: 18px; }
  .buy-bar .btn { padding: 0 12px; font-size: 11px; min-height: 42px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer { padding-bottom: 104px; }
  .buy-bar-info b { max-width: 44vw; }
  .btn { width: 100%; }
}
