/* Tosi Motos — design system.
   Identidade: cabeçalho claro, títulos condensados em caixa alta, vermelho + amarelo, verde WhatsApp,
   seções alternando claro/escuro. Os componentes usam tokens (--bg, --ink, --line...) que mudam por tema. */
:root {
  --red: #d71f26;
  --red-hover: #ec2a31;
  --red-soft: #fbe9e9;
  --yellow: #ffc81f;
  --yellow-hover: #ffd54d;
  --green: #22a652;
  --green-hover: #27bb5d;
  --black: #121214;
  --black-2: #1b1b1e;
  --black-3: #26262a;
  --paper: #f4f3f1;
  --white: #ffffff;
  --ok: #1f9d55;
  --warn: #c98a00;
  --danger: #d71f26;
  --radius: 2px;
  --radius-lg: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 84px;
  --wrap: 1320px;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: Barlow, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 44px rgba(18,18,20,.14);
}
/* Tokens de tema */
body, .theme-light {
  --bg: var(--paper); --surface: var(--white); --surface-2: #ecebe8; --ink: #151517; --muted: #5d5c5a; --subtle: #8b8986;
  --line: #dedcd8; --line-strong: #c9c6c1; --field: var(--white); --stage: radial-gradient(110% 90% at 50% 45%, #ffffff 0%, #ebeae7 75%);
  color-scheme: light;
}
.theme-white { --bg: var(--white); --surface: var(--paper); --surface-2: #ecebe8; }
.theme-dark {
  --bg: var(--black); --surface: var(--black-2); --surface-2: var(--black-3); --ink: #f5f3f0; --muted: #b3b0ac; --subtle: #86837f;
  --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.24); --field: #17171a; --stage: radial-gradient(110% 90% at 50% 45%, #3a1517 0%, #161618 70%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
.theme-light, .theme-white, .theme-dark { background: var(--bg); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.theme-light :focus-visible, .theme-white :focus-visible, .topbar :focus-visible { outline-color: var(--red); }
[hidden] { display: none !important; }
fieldset { min-width: 0; }
.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: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 40px; }
.home-stock-head { grid-template-columns: 1fr; }
.section-head > p { margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.line::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.theme-dark .eyebrow { color: #ff5a5f; }
h1, h2, h3, h4, .display { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
h1 { font-size: clamp(3.2rem, 7.4vw, 6.4rem); line-height: .9; }
h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .92; }
h3 { font-size: 1.6rem; line-height: 1; }
h4 { font-size: 1.2rem; line-height: 1.05; }
.accent { color: var(--red); }
.theme-dark .accent { color: #ff3d44; }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Botões */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); background: none; font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.1; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .18s var(--ease), background .18s, border-color .18s, color .18s; -webkit-tap-highlight-color: transparent; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button svg { width: 18px; height: 18px; flex: none; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-hover); }
.button-yellow { background: var(--yellow); color: #121214; }
.button-yellow:hover { background: var(--yellow-hover); }
.button-dark { background: var(--black); color: #fff; }
.button-dark:hover { background: #2a2a2e; }
.button-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.button-outline:hover { border-color: var(--ink); }
.theme-dark .button-outline { border-color: rgba(255,255,255,.55); }
.theme-dark .button-outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.button-ghost { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button-ghost:hover { border-color: var(--line-strong); }
.button-whatsapp { background: var(--green); color: #fff; }
.button-whatsapp:hover { background: var(--green-hover); }
.button-sm { min-height: 40px; padding: 0 14px; font-size: 12.5px; }
.button-block { width: 100%; }
.button[disabled], .button[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.icon-button { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); transition: background .18s, transform .18s var(--ease), color .18s, border-color .18s; }
.icon-button:hover { border-color: var(--ink); }
.icon-button svg { width: 20px; height: 20px; }
.theme-dark .icon-button { background: transparent; }
.theme-dark .icon-button:hover { border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Cabeçalho */
.top-stripe { height: 5px; background: linear-gradient(90deg, var(--red) 0 80%, var(--yellow) 80%); }
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid #e6e4e0; color: #151517; backdrop-filter: blur(10px); }
.topbar .nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: none; }
.brand-logo { height: 44px; width: auto; }
.brand-oval { display: inline-grid; place-items: center; height: 44px; padding: 0 20px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #b3161c, #5e0c0f 75%); border: 2px solid #2b0708; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 21px; font-style: italic; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.brand-oval em { color: var(--yellow); font-style: inherit; }
.brand-tag { padding-left: 16px; border-left: 1px solid #d8d6d2; color: #4a4946; font-size: 11px; font-weight: 600; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }
.navlinks { display: flex; align-items: center; gap: 6px; }
.navlinks a { position: relative; padding: 10px 14px; color: #2a2a2d; font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.navlinks a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .22s var(--ease); }
.navlinks a:hover::after, .navlinks a[aria-current="page"]::after { transform: scaleX(1); }
.navlinks a[aria-current="page"] { color: #121214; }
.nav-actions .icon-button[aria-current="page"] { color: var(--red); }
.nav-actions .icon-button[aria-current="page"] { color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions [data-header-whatsapp][hidden] { display: none !important; }
.nav-actions .icon-button { position: relative; background: transparent; border-color: transparent; color: #151517; }
.nav-actions .icon-button:hover { border-color: #d8d6d2; }
.badge-count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.menu-toggle { display: none !important; }

/* Menu mobile */
.mobile-menu { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; visibility: hidden; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel { position: relative; width: min(380px, 90vw); height: 100%; display: flex; flex-direction: column; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); background: var(--black); color: #fff; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: center; gap: 16px; padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.mobile-menu nav a svg { width: 22px; height: 22px; color: var(--yellow); }
.mobile-menu nav a[aria-current="page"] { color: var(--yellow); }
.mobile-menu__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }

/* Faixa de atalhos (abaixo do hero) */
.quick-strip { background: var(--red); color: #fff; }
.quick-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-strip a { display: flex; align-items: center; gap: 16px; padding: 24px 22px; border-left: 1px solid rgba(0,0,0,.14); text-decoration: none; transition: background .2s; }
.quick-strip a:last-child { border-right: 1px solid rgba(0,0,0,.14); }
.quick-strip a:hover { background: rgba(0,0,0,.1); }
.quick-strip svg { width: 28px; height: 28px; flex: none; color: var(--yellow); }
.quick-strip strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.quick-strip span { font-size: 14px; opacity: .92; }

/* Rodapé */
.footer { background: #0c0c0d; color: #f5f3f0; --muted: #a5a29e; --line: rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 44px; }
.footer h4 { margin: 0 0 16px; color: #fff; font-size: 1.25rem; }
.footer p { margin: 14px 0 0; color: var(--muted); font-size: 14px; max-width: 320px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer ul a { color: var(--muted); text-decoration: none; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: #7d7a76; font-size: 12.5px; }
.footer-bottom a { color: #a5a29e; text-decoration: none; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 20px; height: 20px; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 7px rgba(34,166,82,.18), 0 12px 28px rgba(0,0,0,.3); transition: transform .2s var(--ease), background .2s; }
.wa-float:hover { transform: scale(1.07); background: var(--green-hover); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float[hidden] { display: none !important; }
body.has-action-bar .wa-float { display: none; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Card de moto / produto */
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-media { position: relative; aspect-ratio: 1 / .86; background: var(--stage); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10% 6% 6%; transition: transform .55s var(--ease); }
.card-media img.photo { object-fit: cover; padding: 0; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tags { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; background: var(--black); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.tag-red { background: var(--red); }
.tag-yellow { background: var(--yellow); color: #121214; }
.tag-green { background: var(--ok); }
.tag-light { background: var(--surface-2); color: var(--ink); }
.card-fav { position: absolute; right: 12px; top: 12px; z-index: 3; }
.card-fav .icon-button { width: 40px; height: 40px; background: rgba(255,255,255,.92); border-color: transparent; color: #151517; }
.card-media-cta { position: absolute; right: 0; bottom: 0; z-index: 2; padding: 10px 14px; background: var(--black); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transform: translateY(0); transition: background .2s; }
.card:hover .card-media-cta { background: var(--red); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px 20px 22px; }
.card-brand { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.card-title { font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; line-height: .95; text-transform: uppercase; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.card-specs li { display: inline-flex; align-items: center; gap: 6px; }
.card-specs svg { width: 16px; height: 16px; color: var(--red); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { display: flex; flex-direction: column; }
.price-old { color: var(--subtle); font-size: 13px; text-decoration: line-through; }
.price-now { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.price-now-promo { color: var(--red); }
.price-promo { gap: 5px; }
.price-promo-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price-promo-amount { display: grid; justify-items: start; gap: 2px; }
.price-prefix { display: block; color: var(--red); font-family: var(--font-body); font-size: .32em; font-weight: 800; letter-spacing: .14em; line-height: 1; }
.price-saving { display: inline-flex; flex: none; align-items: center; gap: 4px; margin-bottom: 3px; padding: 6px 9px; border: 1px solid #f3d0d1; border-radius: 4px; background: #fff3f3; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.price-saving strong { font-size: 1.08em; font-weight: 800; }
.price-label { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.card-actions { position: relative; z-index: 2; display: flex; gap: 8px; }
.card-actions .icon-button { width: 42px; height: 42px; }
.card.is-sold .card-media img { filter: grayscale(.72); opacity: .72; }
.card.is-sold .card-media::after,
.moto-gallery-sold .gallery-stage::after { content: "VENDIDA"; position: absolute; top: 42px; left: -66px; z-index: 2; display: grid; place-items: center; width: 250px; min-height: 46px; padding: 8px 18px; transform: rotate(-36deg); background: linear-gradient(105deg, #b9141b, var(--red) 55%, #f02b32); box-shadow: 0 8px 20px rgba(86,8,12,.28); color: #fff; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: .12em; line-height: 1; text-align: center; pointer-events: none; }
.moto-gallery-sold .gallery-stage > img { filter: grayscale(.56); opacity: .82; }
.card-product .card-media { aspect-ratio: 4 / 3; }
.card-product .card-media img { padding: 14%; }
.card-product .card-media img[src*="capacete-new-liberty-"] { object-fit: contain; padding: 3%; }
.card-product .card-title { font-size: 1.45rem; }
.card-product .card-foot { align-items: stretch; flex-direction: column; gap: 10px; }
.card-product .card-foot > .price { width: 100%; min-width: 0; }
.card-product .card-foot > .price-promo .price-label { display: none; }
.card-product .price-promo-line { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: start; gap: 6px; }
.card-product .price-prefix { display: none; }
.card-product .price-saving { align-self: flex-start; margin: 0; padding: 4px 7px; font-size: 10px; }
.card-product .card-foot > .link-arrow { display: flex; align-items: center; justify-content: center; align-self: stretch; position: relative; z-index: 2; width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; transition: color .2s, background .2s, border-color .2s; }
.card-product .card-foot > .link-arrow:hover { border-color: var(--black); background: var(--black); color: #fff; }
.product-card-variants { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; min-height: 20px; color: var(--muted); font-size: 11px; }
.product-card-colors { display: inline-flex; align-items: center; gap: 4px; }
.product-card-colors i { width: 13px; height: 13px; border: 1px solid rgba(0,0,0,.2); border-radius: 50%; }
.product-card-sizes { line-height: 1.3; }

/* Favoritos / comparar */
.fav-button[aria-pressed="true"] { color: var(--red) !important; }
.fav-button[aria-pressed="true"] svg { fill: currentColor; }
.fav-button.pop svg { animation: pop .38s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.compare-button[aria-pressed="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.theme-dark .compare-button[aria-pressed="true"] { background: #fff; color: #121214; }

/* Skeleton */
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shimmer 1.3s infinite; }
.theme-dark .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); }
.skeleton-card { height: 460px; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* Estados */
.state { display: grid; justify-items: center; gap: 12px; padding: 64px 24px; border: 1px dashed var(--line-strong); background: var(--surface); text-align: center; color: var(--muted); grid-column: 1 / -1; }
.state > svg { width: 46px; height: 46px; color: var(--red); }
.state strong { color: var(--ink); font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.state p { margin: 0; max-width: 440px; }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 160; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); transform: translateX(-50%); pointer-events: none; }
body.has-action-bar .toasts { bottom: 96px; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-left: 4px solid var(--yellow); background: var(--black); color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.3); font-size: 14.5px; font-weight: 600; pointer-events: auto; animation: toast-in .3s var(--ease); }
.toast.is-leaving { animation: toast-out .25s ease forwards; }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast-success { border-color: var(--green); }
.toast-success svg { color: #4fd683; }
.toast-error { border-color: var(--red); }
.toast-error svg { color: #ff5a5f; }
.toast-info svg { color: var(--yellow); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* Formulários */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .field > .label { color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.field .req { color: var(--red); }
.input, .select, .textarea { width: 100%; max-width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--field); color: var(--ink); font-size: 16px; transition: border-color .18s, box-shadow .18s; }
.input::placeholder, .textarea::placeholder { color: var(--subtle); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m6 8 4 4 4-4' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215,31,38,.16); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.theme-dark .field-error { color: #ff6b70; }
.field-hint { color: var(--subtle); font-size: 13px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); background: var(--field); font-size: 15px; font-weight: 700; transition: all .18s; cursor: pointer; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.range { width: 100%; accent-color: var(--red); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-left: 3px solid var(--yellow); background: var(--surface-2); color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.notice svg { width: 18px; height: 18px; flex: none; color: var(--warn); margin-top: 2px; }
.fieldset { display: grid; gap: 16px; margin: 0; padding: 20px; border: 1px solid var(--line); }
.fieldset legend { padding: 0 8px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; }
.form-foot { color: var(--subtle); font-size: 12.5px; line-height: 1.6; margin: 0; }
.success-panel { display: grid; justify-items: start; gap: 14px; padding: 28px; border-left: 4px solid var(--green); background: var(--surface-2); animation: toast-in .35s var(--ease); }
.success-panel .big { width: 46px; height: 46px; color: var(--green); }
.success-panel h3 { font-size: 2rem; }
.success-panel p { margin: 0; color: var(--muted); }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-previews img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line); }

.panel { padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.panel-dark { padding: 34px; background: var(--black); color: #f5f3f0; }

/* Hero (carrossel) */
.hero { position: relative; overflow: hidden; background: var(--black); color: #fff; isolation: isolate; }
/* Todos os slides ocupam a mesma célula do grid: a altura é sempre a do maior slide, sem saltos ao trocar. */
.hero-track { display: grid; min-height: min(620px, calc(100svh - var(--header-h) - 96px)); }
.hero-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide .bg { position: absolute; inset: 0; z-index: -2; }
.hero-slide .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero-slide.is-active .bg img { animation: hero-zoom 12s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } }
.hero-slide.is-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,12,13,.95) 0%, rgba(12,12,13,.8) 40%, rgba(12,12,13,.1) 80%); }
.hero-slide.is-cutout { background: radial-gradient(45% 70% at 72% 50%, rgba(160,16,22,.45), transparent 70%), var(--black); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px; }
.hero-content { padding: 56px 0 96px; }
.hero-content h1 .accent { color: #ff2a32; }
.hero-copy { max-width: 470px; margin: 22px 0 30px; color: #d7d4d0; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .button-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.hero-actions .button-outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.hero-price { margin: -10px 0 26px; display: flex; align-items: baseline; gap: 10px; color: #d7d4d0; }
.hero-price strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--yellow); line-height: 1; }
.hero-art { position: relative; display: grid; place-items: center; }
/* Caixa de proporção fixa: fotos de tamanhos diferentes não alteram a altura do slide. */
.hero-art img { width: 100%; max-width: 640px; aspect-ratio: 16 / 11; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.hero-slide.is-active .hero-art img { animation: hero-in .9s var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: translateX(40px); } }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; }
.hero-controls .wrap { display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 20px; padding: 0; border: 0; background: none; position: relative; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: rgba(255,255,255,.3); transition: background .2s; }
.hero-dots button[aria-current="true"]::before { background: #fff; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows .icon-button { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.hero-arrows .icon-button:hover { border-color: #fff; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 20px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.cat-card img { position: absolute; right: -6%; top: 2%; width: 74%; transition: transform .45s var(--ease); }
.cat-card:hover img { transform: translateX(-4%); }
.cat-card.has-photo { color: #fff; border: 0; }
.cat-card.has-photo img { inset: 0; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,13,.9) 0%, rgba(12,12,13,.2) 65%); }
.cat-card.has-photo:hover img { transform: scale(1.05); }
.cat-card.has-photo > :not(img) { z-index: 1; }
.cat-card.has-photo span { color: #e2dfdc; }
.cat-card.has-photo .count { color: var(--yellow); }
.price-now.price-ask { font-size: 1.5rem; }
.moto-summary .price-now.price-ask { font-size: 2.2rem; }
button.swatch { background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .18s; }
button.swatch:hover { border-color: var(--ink); }
.cat-card strong { position: relative; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.cat-card span { position: relative; color: var(--muted); font-size: 14px; }
.cat-card .count { position: absolute; left: 20px; top: 18px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Tile com ícone (peças, oficina, como comprar) */
.icon-box { display: grid; place-items: center; width: 54px; height: 54px; background: var(--red-soft); color: var(--red); flex: none; }
.icon-box svg { width: 26px; height: 26px; }
.theme-dark .icon-box { background: rgba(215,31,38,.16); color: #ff4d53; }
.icon-box.solid { background: var(--red); color: #fff; }
.tile { position: relative; display: grid; gap: 16px; align-content: start; padding: 24px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
a.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.9rem; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .corner { position: absolute; right: 20px; top: 22px; width: 20px; height: 20px; color: var(--subtle); }

/* Opções de compra (selecionáveis) */
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.option { position: relative; display: grid; gap: 14px; align-content: start; padding: 24px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.option input { position: absolute; right: 22px; top: 24px; width: 22px; height: 22px; margin: 0; accent-color: var(--red); cursor: pointer; }
.option h3 { font-size: 1.9rem; }
.option p { margin: 0; color: var(--muted); font-size: 15px; }
.option:has(input:checked) { border-color: var(--red); box-shadow: inset 0 -4px 0 var(--red); }
.option:has(input:checked) .icon-box { background: var(--red); color: #fff; }
.option:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }

/* Passos (oficina) */
.steps { display: grid; border: 1px solid var(--line); }
.step { display: flex; gap: 18px; padding: 26px 24px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.step h3 { font-size: 1.7rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); }

/* Busca rápida */
.finder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; padding: 26px; background: var(--surface); border: 1px solid var(--line); }

/* Faixas comerciais */
.promo-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.promo-band > *, .hero-inner > *, .moto-top > *, .catalog > *, .store > *, .simulator > * { min-width: 0; }
.check-list { display: grid; gap: 12px; margin: 22px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; color: var(--muted); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 2px; }
.theme-dark .check-list svg { color: var(--yellow); }
.check-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.benefit { padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.benefit strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.45rem; text-transform: uppercase; line-height: 1; }
.benefit p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Loja / mapa */
.store { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; }
.store.has-photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .75fr) minmax(0, 1.25fr); }
.store-info { display: grid; gap: 20px; align-content: start; }
.info-row { display: flex; gap: 14px; }
.info-row > svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 2px; }
.info-row strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.info-row span, .info-row a { color: var(--muted); font-size: 15px; }
.map { min-height: 380px; border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* Page head */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .section-head { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--subtle); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* Catálogo */
.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; padding: 36px 0 90px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 22px; border: 1px solid var(--line); background: var(--surface); scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.filters-head h2 { font-size: 1.9rem; }
.filters .field-group { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.filters .field-group > .label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.filters .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .input, .filters .select { min-height: 44px; font-size: 15px; padding: 9px 12px; }
.filters .select { padding-right: 34px; }
.filters .check { min-height: 32px; font-size: 14.5px; }
.filters-close, .filters-apply { display: none !important; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented button { min-height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: all .18s; }
.segmented button span { color: var(--subtle); font-weight: 600; }
.segmented button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.segmented button[aria-pressed="true"] span { color: #b3b0ac; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 280px; }
.search svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.search .input { padding-left: 44px; }
.toolbar .sort { flex: 0 0 220px; }
.result-count { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13.5px; font-weight: 600; }
.active-filters button svg { width: 14px; height: 14px; }
.filters-open { display: none !important; }

/* Bandeja do comparador */
.compare-tray { position: fixed; left: 50%; bottom: 24px; z-index: 65; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; background: var(--black); color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.35); transform: translateX(-50%); animation: toast-in .3s var(--ease); max-width: calc(100% - 32px); }
.compare-tray .thumbs { display: flex; gap: 6px; }
.compare-tray .thumbs img { width: 50px; height: 34px; object-fit: contain; background: #2a2a2e; }
.compare-tray span { font-size: 14px; font-weight: 700; white-space: nowrap; }
.compare-tray .icon-button { color: #fff; background: transparent; border-color: rgba(255,255,255,.3); width: 42px; height: 42px; }

/* Página da moto */
.moto-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 44px; padding: 28px 0 64px; align-items: start; }
.moto-summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.moto-summary h1 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
.moto-summary .price-now { font-size: clamp(2.6rem, 4.4vw, 3.4rem); }
.moto-summary .price-saving { font-size: 12px; padding: 5px 9px; }
.promo-notice { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid #cfe5d3; border-left: 4px solid #16823a; border-radius: var(--radius); background: linear-gradient(100deg, #edf8ef, #f8fcf7); color: var(--ink); }
.promo-notice-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #16823a; color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.promo-notice strong { display: block; color: #147331; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: .05em; line-height: 1.05; text-transform: uppercase; }
.promo-notice p { margin: 4px 0 0; color: #506656; font-size: 13px; line-height: 1.4; }
.sold-title-mark { display: inline-flex; align-items: center; gap: .14em; margin-left: .08em; padding: .16em .3em; transform: translateY(-.08em); border-radius: 3px; background: linear-gradient(110deg, #b9141b, var(--red)); box-shadow: 0 4px 12px rgba(215,31,38,.2); color: #fff; font-family: var(--font-display); font-size: .38em; font-weight: 800; letter-spacing: .04em; line-height: 1; vertical-align: middle; white-space: nowrap; }
.sold-title-mark svg { width: 1em; height: 1em; flex: none; }
.sold-notice { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid #f2c7c9; border-left: 4px solid var(--red); border-radius: var(--radius); background: linear-gradient(100deg, #fff0f0, #fff9f8); color: var(--ink); }
.sold-notice-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--red); color: #fff; }
.sold-notice-icon svg { width: 23px; height: 23px; }
.sold-notice strong { display: block; color: var(--red); font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: .05em; line-height: 1.05; text-transform: uppercase; }
.sold-notice p { margin: 4px 0 0; color: #62565a; font-size: 13px; line-height: 1.4; }
.moto-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.key-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.key-spec { padding: 14px; background: var(--surface); }
.key-spec span { display: block; color: var(--muted); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.key-spec strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.moto-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.moto-cta .button:first-child { grid-column: 1 / -1; }
.moto-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.moto-tools .button { flex: 1 1 auto; }
.availability { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.availability::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.availability.ok { color: var(--ok); }
.availability.warn { color: var(--warn); }
.availability.off { color: var(--danger); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.tabs-nav { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 2px; overflow-x: auto; margin-bottom: 20px; background: var(--bg); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav a { flex: none; padding: 16px 14px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid transparent; }
.tabs-nav a:hover { color: var(--ink); border-color: var(--red); }
.detail-section { padding: 40px 0 56px; }
.detail-section h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 26px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.spec-table th, .spec-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15.5px; vertical-align: top; }
.spec-table th { width: 44%; color: var(--muted); font-weight: 600; }
.spec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.moto-mobile-head { display: none; }
.description { max-width: 760px; color: var(--muted); font-size: 17px; line-height: 1.75; }

/* Galeria */
.gallery { display: grid; gap: 12px; }
.gallery-stage { position: relative; aspect-ratio: 16 / 11; border: 1px solid var(--line); background: var(--stage); overflow: hidden; touch-action: pan-y; user-select: none; }
.gallery-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; transition: opacity .35s ease, transform .35s var(--ease); cursor: zoom-in; }
.gallery-stage > img.photo { padding: 2%; }
.gallery-stage > img.is-entering { opacity: 0; transform: scale(.98); }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255,255,255,.92) !important; color: #151517 !important; border-color: transparent !important; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-tools { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; gap: 8px; }
.gallery-tools .icon-button { background: rgba(255,255,255,.92); border-color: transparent; color: #151517; }
.gallery-counter { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 5px 10px; background: var(--black); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 100px; height: 72px; padding: 4px; border: 2px solid var(--line); background: var(--stage); transition: border-color .2s, opacity .2s; opacity: .7; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--red); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs .thumb-360 { display: grid; place-items: center; gap: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--red); background: var(--surface); }
.lightbox { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; background: rgba(10,10,11,.97); color: #fff; animation: toast-in .25s ease; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.lightbox .icon-button { color: #fff; background: transparent; border-color: rgba(255,255,255,.3); }
.lightbox-stage { position: relative; flex: 1; overflow: hidden; touch-action: none; background: radial-gradient(60% 60% at 50% 50%, #2b2b30, transparent); }
.lightbox-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 2%; transition: transform .25s ease; cursor: zoom-in; }
.lightbox-stage img.zoomed { cursor: zoom-out; }
.lightbox .gallery-nav { background: rgba(255,255,255,.9) !important; }

/* 360 */
.viewer360 { position: relative; aspect-ratio: 16 / 11; border: 1px solid var(--line); background: var(--stage); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.viewer360.is-dragging { cursor: grabbing; }
.viewer360 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; pointer-events: none; -webkit-user-drag: none; }
.viewer360-hint { position: absolute; left: 50%; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--black); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transform: translateX(-50%); transition: opacity .3s; pointer-events: none; white-space: nowrap; }
.viewer360-hint svg { width: 18px; height: 18px; }
.viewer360-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--red); transition: width .2s; }
.viewer360-controls { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; z-index: 2; }
.viewer360-controls .icon-button { background: rgba(255,255,255,.92); border-color: transparent; color: #151517; }
.viewer360-badge { position: absolute; left: 12px; top: 12px; z-index: 2; }
.viewer360-loading { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--muted); }

/* Simulador */
.simulator { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.sim-result { display: grid; align-content: start; gap: 18px; padding: 32px; background: var(--black); color: #fff; --muted: #b3b0ac; --line: rgba(255,255,255,.12); --surface-2: #232327; }
.sim-result .installment { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 800; line-height: .95; color: var(--yellow); }
.sim-rows { display: grid; gap: 10px; margin: 0; }
.sim-rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.sim-rows dt { color: var(--muted); }
.sim-rows dd { margin: 0; font-weight: 700; }
.range-row { display: flex; justify-content: space-between; color: var(--subtle); font-size: 12.5px; }

/* Barra de ação mobile */
.action-bar { display: none; }
.action-bar.is-sold { grid-template-columns: 1fr 1.3fr; }

/* Comparação */
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.compare-table thead th { vertical-align: bottom; }
.compare-table tbody th { width: 170px; color: var(--muted); font-weight: 600; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare-table .best { color: var(--ok); font-weight: 800; }
.compare-table .best::after { content: " ✓ melhor"; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.compare-head { display: grid; gap: 10px; }
.compare-head img { width: 100%; max-width: 240px; aspect-ratio: 16/10; object-fit: contain; background: var(--stage); }
.compare-head .card-title { font-size: 1.6rem; }

/* Diálogo de produto */
.dialog { width: min(900px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.dialog::backdrop { background: rgba(10,10,11,.7); }
.dialog-body { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-body .media { display: grid; place-items: start center; padding: 32px; background: var(--stage); }
.product-gallery { display: grid; gap: 12px; width: 100%; min-width: 0; }
.product-gallery-main { width: 100%; height: 330px; object-fit: contain; }
.product-gallery-thumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.product-gallery-thumbs button { width: 66px; height: 58px; padding: 4px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); cursor: pointer; }
.product-gallery-thumbs button[aria-pressed="true"] { border: 2px solid var(--red); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.dialog-body .info { display: grid; gap: 16px; align-content: start; padding: 32px; }
.dialog.is-promo .dialog-body .info { gap: 14px; }
.dialog.is-promo .price { padding: 14px 16px; border: 1px solid #f2d6d6; border-left: 4px solid var(--red); border-radius: var(--radius); background: linear-gradient(110deg, #fffafa, #fff); }
.dialog.is-promo .price-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.dialog.is-promo .price-old { font-size: 14px; }
.dialog.is-promo .price-promo-line { align-items: flex-end; }
.dialog.is-promo .price-now { font-size: clamp(2.7rem, 5vw, 3.35rem); line-height: .95; }
.dialog.is-promo .price-saving { margin-bottom: 2px; font-size: 11px; }
.product-variants { display: grid; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.product-variants .field { gap: 8px; }
.product-color-options, .product-size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-color-option, .product-size-option { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .16s, background .16s, box-shadow .16s; }
.product-color-option i { width: 20px; height: 20px; flex: none; border: 1px solid rgba(0,0,0,.2); border-radius: 50%; }
.product-color-option[aria-pressed="true"], .product-size-option[aria-pressed="true"] { border-color: var(--red); background: #fff8f8; box-shadow: inset 0 0 0 1px var(--red); }
.product-color-option:disabled, .product-size-option:disabled { border-style: dashed; background: var(--surface-2); color: var(--subtle); cursor: not-allowed; box-shadow: none; }
.product-color-option small, .product-size-option small { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .04em; line-height: 1; text-transform: uppercase; }
.variant-stock-status { margin: -6px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.product-details { padding: 12px 14px; border-left: 3px solid var(--line-strong); background: var(--surface-2); }
.product-details > strong { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; }
.product-details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 10px 0 0; }
.product-details dl div { display: flex; flex-direction: column; gap: 2px; }
.product-details dt { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.product-details dd { margin: 0; font-size: 13px; font-weight: 600; }
.dialog-close { position: absolute; right: 12px; top: 12px; z-index: 2; }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsividade */
@media (max-width: 1180px) {
  .navlinks a { padding: 10px 9px; font-size: 12.5px; letter-spacing: .06em; }
  .brand-tag { display: none; }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .wrap { width: calc(100% - 40px); }
  .navlinks, .nav-actions .hide-md { display: none; }
  .menu-toggle { display: inline-grid !important; }
  .brand-tag { display: block; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-strip .wrap { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .quick-strip a { border-bottom: 1px solid rgba(0,0,0,.14); }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .promo-band, .store, .two-col, .spec-cols, .simulator, .dialog-body { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-slide.is-cutout .hero-art { order: -1; padding-top: 24px; }
  .hero-slide.is-cutout .hero-art img { max-width: 440px; }
  .hero-slide.is-cutout .hero-content { padding-top: 0; }
  .catalog { grid-template-columns: 1fr; padding-top: 24px; }
  .filters { position: fixed; inset: 0; z-index: 95; max-height: none; border: 0; padding: 20px 20px 110px; transform: translateY(100%); transition: transform .3s var(--ease); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-close { display: inline-grid !important; }
  .filters-apply { display: flex !important; position: fixed; left: 20px; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 2; }
  .filters-open { display: inline-flex !important; }
  .moto-top { grid-template-columns: 1fr; gap: 26px; padding-top: 16px; }
  .moto-summary { position: static; }
  .moto-mobile-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
  .moto-mobile-head .price { text-align: right; flex: none; }
  .moto-mobile-head .card-brand, .moto-mobile-head .card-title { display: block; }
  [data-moto-page] .breadcrumb { display: none; }
  body.moto-detail-page .wa-float,
  body.moto-detail-page .moto-summary .moto-cta .button-whatsapp,
  body.moto-detail-page [data-cons-wa] { display: none !important; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--black); box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
  .action-bar .button { width: 100%; min-height: 54px; font-size: 13px; letter-spacing: .06em; }
  body.has-moto-action-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 26px; }
  h2 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .grid-4, .grid-3, .grid-2, .option-grid, .benefits, .cat-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { min-height: 150px; padding: 14px; }
  .cat-card strong { font-size: 1.5rem; }
  .cat-card .count { left: 14px; top: 12px; }
  .grid { gap: 16px; }
  .brand-oval { height: 40px; padding: 0 16px; font-size: 19px; }
  .brand-tag { display: none; }
  .hero-track { min-height: calc(100svh - var(--header-h) - 60px); }
  .hero-slide { align-items: flex-end; }
  .hero-slide .bg img { object-position: 76% center; }
  .hero-slide.is-cover::before { background: linear-gradient(0deg, rgba(12,12,13,.97) 0%, rgba(12,12,13,.82) 50%, rgba(12,12,13,.1) 100%); }
  .hero-slide.is-cover .hero-content { padding-top: 200px; }
  .hero-content { padding: 20px 0 100px; }
  .hero-copy { font-size: 16px; margin: 16px 0 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-controls { bottom: 24px; }
  .quick-strip a { padding: 18px 14px; gap: 10px; }
  .quick-strip strong { font-size: 1.2rem; }
  .quick-strip span { font-size: 12.5px; }
  .quick-strip svg { width: 22px; height: 22px; }
  .finder { grid-template-columns: 1fr; padding: 18px; }
  .finder .field:last-child > .label { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 30px; }
  .key-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-list.cols { grid-template-columns: 1fr; }
  .toolbar .sort { flex: 1 1 100%; }
  .panel, .panel-dark, .sim-result { padding: 22px; }
  .tile, .option { padding: 20px; }
  .gallery-thumbs button { flex-basis: 78px; height: 56px; }
  .gallery-nav { width: 40px; height: 40px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .compare-tray { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .compare-tray .thumbs { display: none; }
  .spec-table th, .spec-table td { padding: 12px; font-size: 14.5px; }
  .step { padding: 20px 16px; }
  .dialog-body .info, .dialog-body .media { padding: 22px; }
}
@media (max-width: 370px) {
  .button { white-space: normal; text-align: center; }
  .moto-cta { grid-template-columns: 1fr; }
  .brand-oval { font-size: 17px; padding: 0 12px; }
  .action-bar .button svg { display: none; }
  .quick-strip .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Produto em tela cheia com recomendações abaixo do detalhe. */
.dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border-radius: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.dialog::backdrop { background: rgba(10,10,11,.78); }
.dialog-body {
  width: min(1680px, 100%);
  min-height: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  align-content: start;
}
.dialog-body .media {
  min-height: min(82dvh, 880px);
  align-items: center;
  padding: clamp(28px, 5vw, 84px);
  background: radial-gradient(ellipse at center, #fff 0%, var(--stage) 76%);
}
.product-gallery { max-width: 900px; gap: 20px; }
.product-gallery-main { height: min(66dvh, 680px); }
.product-gallery-thumbs button { width: 78px; height: 68px; }
.dialog-body .info {
  align-content: center;
  gap: 20px;
  padding: clamp(32px, 5vw, 84px);
}
.dialog-body .info > h2 { max-width: 780px; font-size: clamp(2.5rem, 4vw, 4.4rem) !important; line-height: .98; }
.dialog-close { position: fixed; top: 18px; right: 20px; width: 48px; height: 48px; background: var(--surface); box-shadow: 0 4px 20px rgba(0,0,0,.14); }
.dialog-related {
  grid-column: 1 / -1;
  padding: clamp(40px, 6vw, 84px) clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.dialog-related-inner { width: min(1480px, 100%); margin: 0 auto; }
.dialog-related .section-head { align-items: end; margin-bottom: 26px; }
.dialog-related .section-head h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.dialog-related .grid { align-items: start; }
.dialog-related .reveal { opacity: 1; transform: none; }
.dialog-related-card { min-width: 0; }
@media (max-width: 980px) {
  .dialog-body { grid-template-columns: 1fr; }
  .dialog-body .media { min-height: auto; padding: 72px 28px 28px; }
  .product-gallery-main { height: min(48dvh, 520px); }
  .dialog-body .info { gap: 18px; padding: 30px clamp(22px, 6vw, 64px) 48px; }
  .dialog-body .info > h2 { font-size: clamp(2.3rem, 7vw, 3.5rem) !important; }
}
@media (max-width: 640px) {
  .dialog-body .media { padding: 68px 18px 20px; }
  .product-gallery-main { height: min(42dvh, 400px); }
  .product-gallery-thumbs button { width: 62px; height: 54px; }
  .dialog-body .info { padding: 24px 18px 36px; }
  .dialog-body .info > h2 { font-size: clamp(2rem, 10vw, 2.8rem) !important; }
  .dialog-close { top: 10px; right: 10px; width: 44px; height: 44px; }
  .dialog-related { padding: 36px 18px; }
  .dialog-related .grid { grid-template-columns: 1fr; }
  .dialog-related .section-head { grid-template-columns: 1fr; }
}

dialog.dialog[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.dialog-body .media { align-items: start; }

/* ---- Refinamentos visuais ---------------------------------------------------------- */
.footer-logo { height: 44px; width: auto; border-radius: 22px; }
.footer-bottom { padding-right: 84px; }

/* Comparar: chip compacto e legível nos cards */
.compare-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: border-color .18s, background .18s, color .18s; }
.compare-chip svg { width: 15px; height: 15px; }
.compare-chip:hover { border-color: var(--ink); }
.compare-chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }

/* Cores do card: bolinhas */
.card-colors i { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); margin-right: -4px; box-shadow: 0 0 0 2px var(--surface); }
.card-colors i:last-of-type { margin-right: 4px; }

/* Galeria: fundo ambiente desfocado para fotos (sem faixas vazias em fotos verticais) */
.gallery-stage.is-ambient { background: #19191b; }
.gallery-stage.is-ambient::before { content: ""; position: absolute; inset: -40px; background: var(--ambient) center / cover no-repeat; filter: blur(30px) brightness(.62) saturate(1.1); transform: scale(1.1); }
.gallery-stage > img { z-index: 1; }
.gallery-stage > img.photo { padding: 0; }
.gallery-stage .gallery-nav, .gallery-stage .gallery-tools, .gallery-stage .gallery-counter { z-index: 3; }

/* Ferramentas da página da moto em uma linha */
.moto-tools { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.moto-tools.has-360 > :first-child { grid-column: 1 / -1; }
.moto-tools .button { width: 100%; }
.moto-tools .icon-button { height: 40px; width: 44px; }

/* Simulador vazio */
.sim-empty { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Como comprar: último cartão ímpar ocupa a linha inteira */
.option-grid .option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tile .corner { transition: transform .2s var(--ease); }
a.tile:hover .corner { transform: translateX(4px); color: var(--red); }

/* WhatsApp flutuante na Home: entra depois do hero */
.has-hero .wa-float { opacity: 0; transform: scale(.85); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.has-hero.show-wa .wa-float { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 980px) {
  .store.has-photo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .store.has-photo .store-info { grid-column: 1 / -1; }
}
.store-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border: 1px solid var(--line); }

@media (max-width: 640px) {
  /* Listas horizontais com arraste no celular (evita páginas enormes) */
  .scroller-mobile { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scroll-padding: 0 16px; scrollbar-width: none; }
  .scroller-mobile::-webkit-scrollbar { display: none; }
  .scroller-mobile > * { flex: 0 0 84%; scroll-snap-align: start; }
  .scroller-mobile > .state { flex-basis: 100%; }
  .scroller-mobile .card:hover { transform: none; }
  .card-media { aspect-ratio: 4 / 3; }
  .tiles-compact { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tiles-compact .tile { padding: 16px; gap: 10px; }
  .tiles-compact .tile h3 { font-size: 1.3rem; }
  .tiles-compact .tile p { font-size: 13px; }
  .tiles-compact .icon-box { width: 42px; height: 42px; }
  .tiles-compact .corner { display: none; }
  .cat-grid .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .store.has-photo { grid-template-columns: 1fr 1fr; gap: 12px; }
  .store-photo, .store .map, .store .map iframe { min-height: 220px; }
  /* Hero mais compacto: cabe na tela do celular */
  .hero-track { min-height: 0; }
  .hero-slide.is-cover .hero-content { padding-top: 220px; }
  .hero-content { padding: 8px 0 86px; }
  .hero h1, .hero .display { font-size: clamp(2.4rem, 11vw, 3.1rem) !important; }
  .hero-copy { font-size: 15px; margin: 12px 0 18px; }
  .hero-price { margin: -4px 0 16px; }
  .hero-price strong { font-size: 1.9rem; }
  .hero .hero-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero .hero-actions .button { padding: 0 10px; font-size: 12px; letter-spacing: .04em; white-space: normal; text-align: center; }
  .hero-slide.is-cutout .hero-art { padding-top: 12px; }
  .hero-slide.is-cutout .hero-art img { max-width: 300px; max-height: 190px; }
  .moto-tools { grid-template-columns: 1fr 1fr auto; }
}

/* Chips de prazo em grade uniforme (sem item órfão na segunda linha) */
.chips-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 8px; }
.chips-fit .chip span { width: 100%; justify-content: center; padding: 0 8px; }

@media (max-width: 640px) {
  .finder { grid-template-columns: 1fr 1fr; gap: 12px; }
  .finder .field:first-child, .finder .field:last-child { grid-column: 1 / -1; }
  .finder .select, .finder .input { font-size: 15px; padding-left: 12px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .benefit { padding: 16px; }
  .benefit strong { font-size: 1.2rem; }
  .benefit p { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .steps .step h3 { font-size: 1.4rem; }
}
/* Dados principais: o último item ocupa o espaço restante da linha (sem célula vazia) */
.key-spec:last-child:nth-child(3n + 2) { grid-column: span 2; }
.key-spec:last-child:nth-child(3n + 1) { grid-column: span 3; }
@media (max-width: 640px) {
  .key-spec:last-child:nth-child(3n + 2), .key-spec:last-child:nth-child(3n + 1) { grid-column: auto; }
  .key-spec:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 640px) {
  /* Formas de pagamento compactas: ícone à esquerda, texto à direita */
  .option-grid { gap: 10px; }
  .option { grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 48px 14px 14px; align-items: center; }
  .option .icon-box { grid-row: span 2; width: 44px; height: 44px; }
  .option .icon-box svg { width: 22px; height: 22px; }
  .option h3 { font-size: 1.35rem; }
  .option p { font-size: 13px; line-height: 1.45; }
  .option input { top: 50%; right: 16px; transform: translateY(-50%); }
}
@media (max-width: 640px) {
  /* Produtos: duas colunas compactas no celular */
  .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-products .card-body { padding: 12px 12px 14px; gap: 6px; }
  .grid-products .card-title { font-size: 1.1rem; }
  .grid-products .product-card-variants { gap: 5px; font-size: 10px; }
  .grid-products .card-brand { font-size: 10.5px; letter-spacing: .12em; }
  .grid-products .card-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .grid-products .price-now { font-size: 1.4rem; }
  .grid-products .price-promo-line { align-items: flex-start; flex-direction: column; gap: 3px; }
  .grid-products .price-saving { align-self: flex-start; margin: 0; padding: 3px 5px; font-size: 9px; }
  .grid-products .card-media img { padding: 10%; }
  .grid-products .tag { height: 22px; font-size: 10px; padding: 0 6px; }
}
.search:not(:has(svg)) .input { padding-left: 15px; }
@media (max-width: 640px) {
  /* Filtros em faixa deslizante (uma linha) */
  .segmented { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .segmented::-webkit-scrollbar { display: none; }
  .segmented button { flex: none; min-height: 42px; padding: 0 14px; font-size: 12.5px; }
  .toolbar .search { flex: 1 1 100% !important; }
}

/* Refinamento da ficha de moto: galeria limpa e resumo em um único painel. */
.moto-top {
  grid-template-columns: minmax(0, 1.14fr) minmax(390px, .86fr);
  gap: clamp(22px, 2.6vw, 38px);
  padding-top: 18px;
}
.moto-summary {
  gap: 10px;
  padding: clamp(18px, 1.5vw, 22px);
  border: 1px solid #303034;
  border-top: 3px solid var(--red);
  border-radius: 4px;
  background: linear-gradient(145deg, #151517 0%, #202024 100%);
  color: #f8f7f5;
  box-shadow: 0 18px 42px rgba(16, 15, 15, .16);
}
.moto-summary h1 {
  font-size: clamp(2.3rem, 3.35vw, 3.35rem);
  line-height: .94;
  letter-spacing: -.025em;
}
.moto-summary .card-brand { margin-bottom: 5px; color: #ff565c; font-size: 11px; letter-spacing: .18em; }
.moto-summary .price-now { color: #fff; font-size: clamp(2.15rem, 2.8vw, 2.65rem); line-height: 1; }
.moto-summary .price-label { margin-bottom: 2px; color: #aaa9ad; }
.moto-summary .key-specs { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.moto-summary .key-spec:last-child:nth-child(3n + 2) { grid-column: auto; }
.moto-summary .key-specs { gap: 1px; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.12); }
.moto-summary .key-spec { padding: 8px 12px; background: #242428; }
.moto-summary .key-spec span { color: #a9a8ad; }
.moto-summary .key-spec strong { color: #fff; font-size: 1.3rem; }
.moto-summary .swatch { border-color: rgba(255,255,255,.18); background: #29292d; color: #fff; }
.moto-summary .muted, .moto-summary .small { color: #d0cfd2; }
.moto-summary .moto-meta .tag:not(.tag-red):not(.tag-green):not(.tag-yellow) { background: #3b3b40; color: #fff; }
.moto-summary .moto-tools .button-outline { border-color: rgba(255,255,255,.26); color: #f5f4f2; }
.moto-summary .moto-tools .button-outline:hover { border-color: #fff; }
.moto-summary .moto-cta .button-dark { background: #f4f3f1; color: #151517; }
.moto-cta { gap: 8px; }
.moto-cta .button { min-height: 46px; border-radius: 4px; }
.moto-cta .button-primary { box-shadow: 0 5px 12px rgba(215, 31, 38, .18); }
.gallery { gap: 8px; }
.gallery-stage { aspect-ratio: 16 / 11; border: 1px solid #e4e1dd; border-radius: 4px; background: #f5f4f2; box-shadow: 0 8px 24px rgba(21, 20, 20, .045); }
.gallery-stage.is-ambient { background: #f5f4f2; }
.gallery-stage.is-ambient::before {
  inset: 0;
  background: radial-gradient(ellipse at center, #fff 0%, #faf9f7 62%, #f0eeeb 100%);
  filter: none;
  transform: none;
}
.gallery-thumbs { gap: 8px; }
.gallery-thumbs button { flex-basis: 84px; height: 62px; border-radius: 2px; }
.gallery-counter { border-radius: 2px; }
.gallery-nav { border-radius: 3px; }

@media (max-width: 980px) {
  .moto-top { grid-template-columns: 1fr; gap: 22px; }
  .moto-summary { position: static; padding: 20px; }
  .moto-summary h1 { font-size: clamp(2.5rem, 7vw, 3.6rem); }
}
@media (max-width: 640px) {
  .moto-top { padding-top: 14px; }
  .moto-summary { gap: 10px; padding: 18px 16px; }
  .moto-summary .key-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-stage { aspect-ratio: 4 / 3; }
  .gallery-thumbs button { flex-basis: 64px; height: 50px; }
}

/* Vitrine da home: filtros simples para alternar entre grupos reais do estoque. */
.home-stock-head { margin-bottom: 24px; }
.home-stock-head h2 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
.home-stock-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 10px; padding: 4px 0 12px; scrollbar-width: thin; }
.home-stock-tabs button { flex: none; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: background .18s, border-color .18s, color .18s; }
.home-stock-tabs button:hover { border-color: var(--red); }
.home-stock-tabs button[aria-selected="true"] { border-color: var(--black); background: var(--black); color: #fff; }
.home-stock-count { min-height: 20px; margin: 0 0 12px; }
.home-stock-foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 22px; }
.home-stock-foot p { margin: 0; }
.home-stock-foot .link-arrow { color: var(--red); white-space: nowrap; }
.home-trust { position: relative; overflow: hidden; }
.home-trust::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.home-trust-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 7vw, 100px); }
.home-trust-copy h2 { max-width: 650px; font-size: clamp(2.8rem, 5.5vw, 4.8rem); }
.home-trust-copy > p:last-child { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.home-trust-card { display: grid; gap: 10px; padding: clamp(22px, 3vw, 36px); border: 1px solid rgba(255,255,255,.14); border-top: 3px solid var(--yellow); background: #1b1b1e; }
.home-trust-label { color: #ff5a5f; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.home-trust-card > strong { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase; }
.home-trust-detail { color: var(--muted); font-size: 14px; }
.home-trust-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.home-trust-actions .button { flex: 1 1 200px; }
@media (max-width: 760px) {
  .home-trust { padding: 64px 0; }
  .home-trust-grid { grid-template-columns: 1fr; gap: 26px; }
  .home-trust-copy h2 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .home-trust-copy > p:last-child { margin-top: 14px; font-size: 15px; }
  .home-trust-actions { display: grid; grid-template-columns: 1fr; }
  .home-stock-foot { align-items: flex-start; flex-direction: column; }
}
